wnob commented on PR #2973:
URL: https://github.com/apache/calcite/pull/2973#issuecomment-1322705468

   > BQ `DATETIME` = Calcite `TIMESTAMP`
   
   I don't see the connection. In Calcite, a timestamp is represented 
internally as an offset in milliseconds since epoch. In BigQuery, a timestamp 
is represented internally as an offset in microseconds since epoch. Apart from 
the difference in resolution, they're essentially the same.
   
   Of course, this can easily be re-interpreted as a `DATETIME` by assuming a 
default time zone, but I struggle to see how a Calcite `TIMESTAMP` is better 
mapped to a BQ `DATETIME` than to a BQ `TIMESTAMP`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to