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

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

                Author: ASF GitHub Bot
            Created on: 07/Jul/20 05:20
            Start Date: 07/Jul/20 05:20
    Worklog Time Spent: 10m 
      Work Description: amaliujia commented on a change in pull request #12169:
URL: https://github.com/apache/beam/pull/12169#discussion_r450616694



##########
File path: 
sdks/java/extensions/sql/zetasql/src/main/java/org/apache/beam/sdk/extensions/sql/zetasql/ZetaSQLPlannerImpl.java
##########
@@ -171,6 +178,18 @@ public RelRoot rel(String sql, QueryParameters params) {
                 SqlAnalyzer.USER_DEFINED_FUNCTIONS,
                 String.join(".", createFunctionStmt.getNamePath()));
         udfBuilder.put(functionFullName, createFunctionStmt);
+      } else if (statement.nodeKind() == RESOLVED_CREATE_TABLE_FUNCTION_STMT) {
+        ResolvedCreateTableFunctionStmt createTableFunctionStmt =
+            (ResolvedCreateTableFunctionStmt) statement;
+        catalog.addTableValuedFunction(

Review comment:
       Done.




----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 455236)
    Time Spent: 5h 40m  (was: 5.5h)

> Beam ZetaSQL supports multiple statements in a query
> ----------------------------------------------------
>
>                 Key: BEAM-9953
>                 URL: https://issues.apache.org/jira/browse/BEAM-9953
>             Project: Beam
>          Issue Type: Task
>          Components: dsl-sql-zetasql
>            Reporter: Rui Wang
>            Assignee: Kyle Weaver
>            Priority: P2
>          Time Spent: 5h 40m
>  Remaining Estimate: 0h
>
> One example of multiple  statements query:
> {code:java}
> CREATE FUNCTION fun_a (param_1 INT64); SELECT fun_a(10);
> {code}



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

Reply via email to