[ 
https://issues.apache.org/jira/browse/CALCITE-5447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17649920#comment-17649920
 ] 

Oliver Lee commented on CALCITE-5447:
-------------------------------------

Hi [~FrankZou] , I meant to assign this to me and I've already been working on 
it!

> Add DATE_TRUNC for BigQuery
> ---------------------------
>
>                 Key: CALCITE-5447
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5447
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Oliver Lee
>            Priority: Minor
>
> Adding in BigQuery's definition of DATE_TRUNC as described 
> [https://g3doc.corp.google.com/company/teams/googlesql/reference/date_functions.md?cl=head#date-trunc]
>  
> ex.
> DATE_TRUNC('2022-01-05', month) -> 2022-01-01
> DATE_TRUNC('2022-01-05', day) -> 2022-01-05
> DATE_TRUNC('2022-01-05', year) -> 2022-01-01



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to