raminqaf commented on code in PR #28235:
URL: https://github.com/apache/flink/pull/28235#discussion_r3318068891
##########
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/bridging/BridgingSqlFunction.java:
##########
@@ -348,14 +348,29 @@ public CallContext toCallContext(
@Nullable List<Integer> inputTimeColumns,
@Nullable List<ChangelogMode> inputChangelogModes,
@Nullable ChangelogMode outputChangelogMode) {
+ return toCallContext(
+ call, inputTimeColumns, inputChangelogModes,
outputChangelogMode, null);
+ }
+
+ /**
+ * Variant that additionally exposes the call's input upsert keys. Used by
the streaming codegen
+ * path so PTFs can specialize themselves on the input's row-identity
information.
+ */
+ public CallContext toCallContext(
Review Comment:
It is used by `ProcessTableRunnerGenerator.scala:81` for the streaming
codegen path where upsert keys are available.
--
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]