You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the trino function list, date_trunc return TIMESTAMP. However, trino also supports the implicit casting for TIMESTAMP and DATE type. It can work fine to compare a date and date_trunc() expression.
For BigQuery, it doesn't support to type coercion between date and timestamp. That's why it provide two truncation function: date_trunc and timestamp_trunc. We should map trino's date_trunc to them in the run time.
The text was updated successfully, but these errors were encountered:
In the trino function list,
date_trunc
returnTIMESTAMP
. However, trino also supports the implicit casting forTIMESTAMP
andDATE
type. It can work fine to compare adate
anddate_trunc()
expression.For BigQuery, it doesn't support to type coercion between
date
andtimestamp
. That's why it provide two truncation function:date_trunc
andtimestamp_trunc
. We should map trino'sdate_trunc
to them in the run time.The text was updated successfully, but these errors were encountered: