[Flink 14101][Connectors][Jdbc] SQL Server dialect
What is the purpose of the change
Support Microsoft SQL Server in JDBC connector
Brief change log
- Added SqlServerDialect and corresponding helper class
Verifying this change
This change added tests and can be verified as follows:
- Added integration tests of using SqlServer as data source
- Added integration tests of using SqlServer as data sink
- Added unit tests that checks SqlServerDialect produce correct SQL statement
Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (yes)
- 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? (yes)
- If yes, how is the feature documented? (docs)
This PR is quite big, I've tried to split the commits by logical grouping, hope that helps
CI report:
- a7ea861640b64676a9f2fecc471dae21154be726 Azure: SUCCESS
Bot commands
The @flinkbot bot supports the following commands:@flinkbot run azurere-run the last Azure build
@flinkbot run azure
@flinkbot run azure
@flinkbot run azure
@RocMarshal since you are working on FLIP-239, would you like to review this PR?
Hi JingGe, sure, I will give it a go
@RocMarshal since you are working on FLIP-239, would you like to review this PR?
Thanks @qingwei91 for the pr and @JingGe for the ping. I'll check it asap.
@flinkbot run azure
@flinkbot run azure
Hi @RocMarshal will you be able to review this again? I've addressed your comment.
Thanks for your help!
@fpompermaier Do you also want to have another look at this PR?
Hi @JingGe , do we just need 1 more review on this?
@qingwei91 would you like to do the following clean-up:
- squash commits and please make sure the commit message follows Flink rule.
- rebase to the master.
- Replace "[Flink 14101]" with "[Flink-14101]" in the PR title.
Thanks for your effort!
Hi @JingGe thanks for the feedback, I've done the 1st and 2nd point.
But I don't know how to execute the 3rd point, I don't think it supports Markdown in PR title, maybe I am missing something
Hi @qingwei91 It would be great if you could squash three commits into one.
The PR title just missed "-".
@JingGe sorry I misunderstood, I've fixed it now
Hi @JingGe thanks for the approval, what else do we need to be able to merge this? Should I reach out to other contributor/committer?
Since we are currently in feature freeze, this can only be merged when the release branch is cut in the next week or so
@MartijnVisser 1.16 branch has been cut today. This PR could be merged now. Thanks!
@PatrickRen Would you like to merge this PR? Thanks!
Thanks @qingwei91 for the PR and everyone for the reviewing and tracking! I could help merging the PR~
Merge on master.