Skip to content

Commit

Permalink
Merge pull request #131 from keboola/BIG-238-handle-interval-datatype…
Browse files Browse the repository at this point in the history
…-in-rest-api-bq

[BIG-238] Handle interval datatype in REST API BQ
  • Loading branch information
tomasfejfar authored Feb 29, 2024
2 parents 2b998cf + e680713 commit d959464
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/php-datatypes/src/Definition/Bigquery.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ class Bigquery extends Common
self::TYPE_BIGDECIMAL,
];

/* @see https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#TableFieldSchema */
public const TYPES_UNSUPPORTED_IN_REST = [
self::TYPE_ARRAY,
self::TYPE_INTERVAL,
];

public const MAX_LENGTH = 9223372036854775807;

public const METADATA_BACKEND = 'bigquery';
Expand Down

0 comments on commit d959464

Please sign in to comment.