Reputation: 667
I am starting with a new project and just wanted to verify before defining the table schema
Does BigQuery support anything other than:
string –
integer –
float–
boolean –
Upvotes: 8
Views: 23568
Reputation: 59175
BigQuery data types official docs:
The previous answer lists the basic datatypes:
BigQuery also supports:
2018 and now also:
More on:
Upvotes: 23
Reputation: 31
Boolean also support 1 for true and 0 for false and Timestamp supports UTC or "YYYY-MM-DD HH:MM:SSSS"
Upvotes: 1
Reputation: 590
Yes indeed.
BigQuery Type ICD Type Length Checks
INTEGER Integer
FLOAT Decimal
STRING Text <65536
BOOLEAN Choice "true" or "false", case-insensitive
https://developers.google.com/bigquery/articles/ingestionbestpractices#cutplace
Upvotes: 3