Table of Contents

Search

  1. Preface
  2. Part 1: Introduction to Google BigQuery connectors
  3. Part 2: Data Integration with Google BigQuery V2 Connector
  4. Part 3: Data Integration with Google BigQuery Connector

Google BigQuery Connectors

Google BigQuery Connectors

Data types with Google BigQuery V2

Data types with
Google BigQuery V2

The following table lists the Google Cloud Storage data types based on the file format type that can be pushed to the Google BigQuery database:
File format type
Google Cloud Storage data type
Delimited
BigInt, Number, String
Avro
Binary, Byte, Double, Float, Int, Long, String
Parquet
Binary, Date, Decimal, Double, Float, Int32, Int64, Int96, String
JSON
Double, Int, Long, String
The following table lists the Google BigQuery native data types that can be mapped to the comparable transformation data types in a mapping configured with
SQL ELT optimization
:
Google BigQuery data type
Transformation data type
Boolean
String
Date
Date/Time
DateTime
Date/Time
Float
Double
Integer
BigInt
Numeric
Decimal
Default precision 28, scale 9.
String
String
Byte
Byte
Time
Date/Time
Timestamp
Date/Time
When you set the custom property
OptimizeCastsInPDO:true
in Google BigQuery V2 connection optional properties, you can map the following date time data types in Google BigQuery source to a target in a mapping enabled with
SQL ELT optimization
:
Source data type
Supported target data type
Date
Date, Date/Time
Time
Time
Date/Time
Date, Time, Date/Time
Timestamp
Time, Timestamp

0 COMMENTS

We’d like to hear from you!