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

Zou commented on CALCITE-5459:
------------------------------

[~tanclary] it is good to add this issue as a sub-task of [Calcite-5180 
|https://issues.apache.org/jira/browse/CALCITE-5180]. And also, it would be 
better to create an umbrella ticket if we still have lots of other BigQuery 
functions to be implemented.

> Implement BigQuery TIME() Function
> ----------------------------------
>
>                 Key: CALCITE-5459
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5459
>             Project: Calcite
>          Issue Type: Sub-task
>            Reporter: Tanner Clary
>            Assignee: Tanner Clary
>            Priority: Major
>
> Add support for BigQuery's {{TIME()}} function. The function constructs a 
> {{TIME}} expression from the provided arguments. 
> There are three ways the function can be called:
> 1. {{TIME(HOUR, MINUTE, SECOND)}}
> 2. {{TIME(TIMESTAMP [, TIMEZONE])}} (Calcite does not currently support 
> timestamp with time zone.
> 3. {{TIME(DATETIME)}} (Calcite does not currently support DATETIME)
> Examples:
> {{TIME(5, 30, 50)}} would return '05:30:50'.
> {{TIME(TIMESTAMP '2008-12-25 15:30:00')}} would return '15:30:00'.
> [BigQuery Docs | 
> https://cloud.google.com/bigquery/docs/reference/standard-sql/time_functions#time]



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

Reply via email to