twalthr opened a new pull request #13618:
URL: https://github.com/apache/flink/pull/13618
## What is the purpose of the change
This enables metadata columns in the planner. Both `SupportsReadingMetadata`
and `SupportsWritingMetadata` are fully supported for sources and sinks.
## Brief change log
- Reimplement `CatalogTable` to `RelNode` logic for sources.
- Reimplement `CatalogTable` to `RelNode` logic for sinks.
- Support `SupportsReadingMetadata`.
- Support `SupportsWritingMetadata`.
- Support `SupportsReadingMetadata together with
`SupportsProjectionPushDown`.
- Update `TestValuesTableFactory` to support the new interfaces.
- Several exception and code improvements
## Verifying this change
This change added tests and can be verified as follows:
- `TableScanTest`
- `TableSinkTest`
- `TableSourceITCase`
- `TableSinkITCase`
## 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)`: yes
- 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/Mesos, ZooKeeper: no
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? yes
- If yes, how is the feature documented? JavaDocs
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]