Skip to content

ibis.timestamp(...) becomes DATETIME(...) in BigQuery, but I'd want TIMESTAMP(...) #9722

Answered by gforsyth
astrojuanlu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @astrojuanlu -- get ready for a feeling of deep dread.

In BigQuery, DATETIMEs have no time zone, TIMESTAMPs have a time zone.
If you use ibis.timestamp and don't specify a time zone, when it compiles to BigQuery, will give you a DATETIME.
So, if you want TIMESTAMP, make sure you specify a time zone.

Time was a mistake.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@astrojuanlu
Comment options

@astrojuanlu
Comment options

@astrojuanlu
Comment options

Answer selected by astrojuanlu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants