matriv commented on a change in pull request #19205:
URL: https://github.com/apache/flink/pull/19205#discussion_r833354699



##########
File path: 
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/calcite/FlinkRelBuilder.java
##########
@@ -88,7 +89,8 @@ private FlinkRelBuilder(Context context, RelOptCluster 
cluster, RelOptSchema rel
         super(context, cluster, relOptSchema);
 
         this.toRelNodeConverter =
-                new QueryOperationConverter(this, 
context.unwrap(FlinkContext.class).isBatchMode());
+                new QueryOperationConverter(
+                        this, 
ShortcutUtils.unwrapContext(context).isBatchMode());

Review comment:
       you mean everywhere I use ShortcutUtils in this commit? 




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

To unsubscribe, e-mail: [email protected]

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


Reply via email to