[FLINK-27660][table] add table api for registering function with resource
What is the purpose of the change
Add table api for registering function with remote resource, so that we the advance function creation can be supported in DDL.
Brief change log
- Change on Table API with new create function with resources
- Add test case in TableEnvironmentImplTest
Verifying this change
The PR is tested in the new test function in TableEnvironmentImplTest.
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, 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? (not documented)
CI report:
- 85f55acde3d6e990ac5c9135e8699ed61c43b961 Azure: SUCCESS
Bot commands
The @flinkbot bot supports the following commands:@flinkbot run azurere-run the last Azure build
@HuangZhenQiu After https://github.com/apache/flink/pull/20001 merge, you can rebase master, and I will review
@lsyldliu Sure. I will rebase later.
@flinkbot run azure
@HuangZhenQiu The previous PR is already merge into master branch, you can continue this work.
@lsyldliu Sure. I will work on it tonight
cc @lsyldliu , could you help to review this?
cc @lsyldliu , could you help to review this?
OKay
@lsyldliu Thanks for the review. Revised the code accordingly Would you please take a look again?
@lsyldliu , could you help to continue review this PR when you are free?
@lsyldliu , could you help to continue review this PR when you are free?
LGTM overall just left one comment.
@HuangZhenQiu Regarding the failed test, please rebase master branch again.