Github user KurtYoung commented on a diff in the pull request:
https://github.com/apache/flink/pull/3040#discussion_r95975427
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/plan/nodes/dataset/DataSetCalc.scala
---
@@ -129,8 +131,35 @@ class DataSetCalc(
body,
returnType)
+ def getForwardIndices = {
+ //get indices of all modified operands
+ val modifiedOperands = calcProgram.
+ getExprList
+ .filter(_.isInstanceOf[RexCall])
+ .flatMap(_.asInstanceOf[RexCall].operands)
+ .map(_.asInstanceOf[RexLocalRef].getIndex)
--- End diff --
Shouldn't the modified fields are meaning to the input fields? So it should
be RexInputRef?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---