Au-Miner opened a new pull request, #28198:
URL: https://github.com/apache/flink/pull/28198
## What is the purpose of the change
Fix `DynamicTableSink.Context#getTargetColumns` for row-level UPDATE so it
contains all columns delivered to the sink, instead of only the columns from
the SET clause.
Due to the dependency on the pre-PR FLINK-36735, it is set to draft PR.
## Brief change log
- Change `DynamicSinkUtils#convertSinkToRel` to apply target columns after
the UPDATE rewrite, using the required physical columns returned by
`convertUpdate`.
- Add target-column capture support in `TestUpdateDeleteTableFactory` for
both sink ability application and runtime sink context.
## Verifying this change
Updated `RowLevelUpdateTest` plan expectations and `UpdateTableITCase`
assertions to verify full-row, partial required-column, and disjoint
required/updated-column UPDATE cases expose the correct target columns.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: no
- The serializers: no
- The runtime per-record code paths (performance sensitive): no
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? no
--
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]