New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLINK-17537][connectors / jdbc] Refactor flink-jdbc connector structure #12036
Conversation
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Automated ChecksLast check on commit 173ded8 (Fri May 08 10:15:17 UTC 2020) Warnings:
Mention the bot in a comment to re-run the automated checks. Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
Just two notes: since you are refactoring the entire JDBC connector I have collected 2 observations from the other PR I have opened:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks fro the contribution @leonardBang . I left some comments.
...bc/src/main/java/org/apache/flink/api/java/io/jdbc/split/GenericParameterValuesProvider.java
Outdated
Show resolved
Hide resolved
...ctor-jdbc/src/main/java/org/apache/flink/api/java/io/jdbc/split/ParameterValuesProvider.java
Outdated
Show resolved
Hide resolved
...rs/flink-connector-jdbc/src/main/java/org/apache/flink/api/java/io/jdbc/JDBCInputFormat.java
Show resolved
Hide resolved
.../flink-connector-jdbc/src/main/java/org/apache/flink/connector/jdbc/dialect/JdbcDialect.java
Show resolved
Hide resolved
...flink-connector-jdbc/src/main/java/org/apache/flink/connector/jdbc/dialect/JdbcDialects.java
Outdated
Show resolved
Hide resolved
...onnectors/flink-connector-jdbc/src/test/java/org/apache/flink/connector/jdbc/JdbcITCase.java
Show resolved
Hide resolved
...ors/flink-connector-jdbc/src/main/java/org/apache/flink/connector/jdbc/JdbcSinkFunction.java
Outdated
Show resolved
Hide resolved
...dbc/src/main/java/org/apache/flink/connector/jdbc/source/row/converter/JdbcRowConverter.java
Outdated
Show resolved
Hide resolved
.../flink-connector-jdbc/src/main/java/org/apache/flink/connector/jdbc/dialect/JdbcDialect.java
Show resolved
Hide resolved
Thanks @faisalmoeen and @wuchong ‘s notes and comments. |
5b1c938
to
b31fe9e
Compare
squash to one commit for merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the great work. LGTM.
@flinkbot run azure |
@flinkbot run azure |
(1) Use Jdbc instead of JDBC. (2) Move interfaces and classes to org.apache.flink.connector.jdbc. (3) Keep ancient JDBCOutputFormat, JDBCInputFormat and ParameterValuesProvider in old package. (4) Add tests/ITCase for ancient Classes and new classes. (5) rename flink-jdbc module to flink-connector-jdbc. (6) update docs.
rebase master to fix minor conflict |
Merging... |
What is the purpose of the change
Brief change log
commit: 6aff2b5
commit: 173ded8
Verifying this change
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (no)Documentation