gustavodemorais commented on code in PR #30173:
URL: https://github.com/apache/flink/pull/30173#discussion_r4773212173
##########
flink-table/flink-table-planner/src/test/resources/org/apache/flink/table/planner/plan/stream/sql/ToAppendTest.xml:
##########
@@ -53,8 +54,75 @@ LogicalProject(name=[$0])
<Resource name="optimized rel plan">
<![CDATA[
ProcessTableFunction(invocation=[TO_APPEND(TABLE(#0), DEFAULT(), DEFAULT())],
uid=[null], select=[name], rowType=[RecordType(VARCHAR(2147483647) name)],
changelogMode=[I])
-+- Calc(select=[name], changelogMode=[I,UA,PD])
- +- TableSourceScan(table=[[default_catalog, default_database,
upsert_source]], fields=[id, name], changelogMode=[I,UA,PD])
++- Calc(select=[name], changelogMode=[I,UA])
Review Comment:
The Calc above the ChangelogFilter receives no deletes, so it has no partial
delete keys.
`partialDeleteKeys` is null there, which is expected, since its delete kind
is NONE.
--
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]