raminqaf commented on code in PR #30261:
URL: https://github.com/apache/flink/pull/30261#discussion_r4797479697
##########
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/plan/stream/sql/ProcessTableFunctionTest.java:
##########
@@ -504,6 +506,20 @@ void
testUpsertInputWithRowSemanticsFilteredOnNonKeyColumn() {
"SELECT * FROM f(r => TABLE v)",
singletonList(ExplainDetail.CHANGELOG_MODE));
}
+ @Test
+ void testKeyOnlyDeletesOfInputReachChangelogFunction() {
Review Comment:
The test only covers a source with key-only deletes. Could you add a case
with a full-delete source into the same sink? The PTF should then show
`[I,UA,D]`. Without it, the test would still pass if the input flag were always
true. `t_full_delete_upsert_source` from
`testUpsertInputWithRowSemanticsAndFullDeletes` could move to setup() for this.
--
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]