godfreyhe commented on a change in pull request #8984:  
[FLINK-13088][table-api] Support lazy query transformation & execution on 
TableEnvironment
URL: https://github.com/apache/flink/pull/8984#discussion_r300567872
 
 

 ##########
 File path: 
flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/table/api/java/internal/StreamTableEnvironmentImpl.java
 ##########
 @@ -305,6 +327,11 @@ protected void validateTableSource(TableSource<?> 
tableSource) {
                
validateTimeCharacteristic(TableSourceValidation.hasRowtimeAttribute(tableSource));
        }
 
+       @Override
+       protected boolean shouldTranslateEagerly() {
+               return true;
 
 Review comment:
   maybe the plan result of tests which use `registerFunction(String name, 
AggregateFunction<T, ACC> aggregateFunction)` and ` registerFunction(String 
name, TableFunction<T> tableFunction)` will be updated in blink planner,  and 
be reverted back when new type inference is ready.

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