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

Rui Wang commented on BEAM-9953:
--------------------------------

Better to check the open sourced Java Analyzer: 
https://github.com/google/zetasql/blob/master/java/com/google/zetasql/Analyzer.java


I am not seeing a API that returns a ResolvedStatment but that is not really 
analyzing. 

Also Kyle added an API discussed above (which we need) at: 
https://github.com/google/zetasql/blob/master/java/com/google/zetasql/Analyzer.java#L214.
 So it's no longer a problem

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