xuyangzhong opened a new pull request #17537:
URL: https://github.com/apache/flink/pull/17537
## What is the purpose of the change
This change aims to add the watermark strategy to Source Provider which is
introduced from FLIP-27.
Before, when the source was the new Source, it was always added with
WatermarkStrategy.noWatermarks().
## Brief change log
- Generate the watermark strategy by the watermarkExpr from
WatermarkPushDownSepc in CommonExecTableSourceScan.
- Mock a TestValuesSource which implements the new Source for testing.
- Change the table config option from 'disable-lookup' to 'enable-lookup'
to be unified with other options.
- Separate table sources, table sinks, source functions, sink functions
and lookup functions from TestValuesTableFactory and
TestValuesTableRuntimeFunctions to single classes.
## Verifying this change
- TestValuesSource is mocked to test this change.
- Some test cases are added to test the TestValuesSource and this change.
## 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?
--
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]