gustavodemorais commented on code in PR #29812:
URL: https://github.com/apache/flink/pull/29812#discussion_r4527138714
##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/plan/optimize/program/FlinkChangelogModeInferenceProgram.scala:
##########
@@ -1827,6 +1844,29 @@ class FlinkChangelogModeInferenceProgram extends
FlinkOptimizeProgram[StreamOpti
tableArg.is(StaticArgumentTrait.REQUIRE_UPDATE_BEFORE)
}
+ /** Insert-only PTFs with row semantics don't need UPDATE_BEFORE if the
input has a key. */
+ private def ptfAcceptsRowSemanticUpserts(
+ process: StreamPhysicalProcessTableFunction,
+ tableArg: StaticArgument,
+ input: StreamPhysicalRel): Boolean = {
+ val isRowSemantic = tableArg.is(StaticArgumentTrait.ROW_SEMANTIC_TABLE)
Review Comment:
It actually turned out to be the same length but I think it's a good idea
since it now includes broadcast tables
--
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]