snuyanzin commented on code in PR #29939:
URL: https://github.com/apache/flink/pull/29939#discussion_r4569485452
##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/plan/rules/physical/batch/BatchPhysicalCalcRule.scala:
##########
@@ -35,7 +36,8 @@ class BatchPhysicalCalcRule(config: Config) extends
ConverterRule(config) {
override def matches(call: RelOptRuleCall): Boolean = {
val calc: FlinkLogicalCalc = call.rel(0)
val program = calc.getProgram
- !program.getExprList.asScala.exists(containsPythonCall(_))
+ !program.getExprList.asScala.exists(containsPythonCall(_)) &&
+ !program.getExprList.asScala.exists(containsAsyncCall)
Review Comment:
so we need several times convert from java to scala?
--
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]