[ 
https://issues.apache.org/jira/browse/BEAM-9178?focusedWorklogId=458301&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-458301
 ]

ASF GitHub Bot logged work on BEAM-9178:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Jul/20 20:51
            Start Date: 13/Jul/20 20:51
    Worklog Time Spent: 10m 
      Work Description: robinyqiu commented on a change in pull request #12231:
URL: https://github.com/apache/beam/pull/12231#discussion_r453924913



##########
File path: 
sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/meta/provider/bigquery/BeamBigQuerySqlDialect.java
##########
@@ -359,6 +267,43 @@ private void unparseFunctionsUsingInterval(
     }
   }
 
+  private void unparseExtractFunctions(
+      SqlWriter writer, SqlCall call, int leftPrec, int rightPrec) {
+    String funName = call.getOperator().getName();
+    int operandCount = call.operandCount();
+    SqlNode tz = null;

Review comment:
       Actually we can't do this because tz is optional and there are cases in 
which it will not be set in the code below.




----------------------------------------------------------------
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.

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


Issue Time Tracking
-------------------

    Worklog Id:     (was: 458301)
    Time Spent: 4h  (was: 3h 50m)

> Support ZetaSQL TIMESTAMP functions in BeamSQL
> ----------------------------------------------
>
>                 Key: BEAM-9178
>                 URL: https://issues.apache.org/jira/browse/BEAM-9178
>             Project: Beam
>          Issue Type: New Feature
>          Components: dsl-sql-zetasql
>            Reporter: Robin Qiu
>            Assignee: Zijie Song
>            Priority: P2
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> Support *all* TIMESTAMP functions defined in ZetaSQL (BigQuery Standard SQL). 
> See the full list of functions below:
> [https://cloud.google.com/bigquery/docs/reference/standard-sql/timestamp_functions]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to