wuchong commented on a change in pull request #9781: [FLINK-14098] Support 
multiple statements for TableEnvironment.
URL: https://github.com/apache/flink/pull/9781#discussion_r329340695
 
 

 ##########
 File path: 
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/delegation/Planner.java
 ##########
 @@ -61,9 +62,10 @@
         * <p>The produced Operation trees should already be validated.
         *
         * @param statement the sql statement to evaluate
+        * @param operationPreConsumer pre consumer for specific operations
         * @return parsed queries as trees of relational {@link Operation}s
         */
-       List<Operation> parse(String statement);
+       List<Operation> parse(String statement, Consumer<Operation> 
operationPreConsumer);
 
 Review comment:
   Why do we need the `operationPreConsumer`? As discussed in the JIRA, Calcite 
Parser already support to parse multiple statements. We don't need to do any 
pre-operation for that. 

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


With regards,
Apache Git Services

Reply via email to