-
Notifications
You must be signed in to change notification settings - Fork 147
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-35363] FLIP-449: Reorganization of flink-connector-jdbc #123
Conversation
c5ad76f
to
91578cd
Compare
...onnector-jdbc-core/src/main/java/org/apache/flink/connector/jdbc/core/table/JdbcFactory.java
Outdated
Show resolved
Hide resolved
8a57c6d
to
efd79a2
Compare
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 @eskabetxe for the hard work!
Looks nice to me on the functional refactor.
Just left a few of comments about doc/naming.
Please let me know what's your opinion :)
flink-connector-jdbc/src/main/java/org/apache/flink/connector/jdbc/dialect/AbstractDialect.java
Outdated
Show resolved
Hide resolved
...onnector-jdbc/src/main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java
Outdated
Show resolved
Hide resolved
...r-jdbc/src/main/java/org/apache/flink/connector/jdbc/converter/AbstractJdbcRowConverter.java
Outdated
Show resolved
Hide resolved
...ain/java/org/apache/flink/connector/jdbc/internal/options/InternalJdbcConnectionOptions.java
Outdated
Show resolved
Hide resolved
import org.apache.flink.connector.jdbc.core.datastream.source.JdbcSource; | ||
import org.apache.flink.connector.jdbc.core.datastream.source.JdbcSourceBuilder; | ||
|
||
/** Facade to create JDBC stream sources and sinks. */ |
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.
The repo is lacking of documentation pages to describe the new jdbc sink2 and the current usage for here.
Would you like to supplement it by https://issues.apache.org/jira/browse/FLINK-35811 ?
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.
I think that all doc should also be refactored, maybe have one sub-page per connector, and clean all deprecated docs.
We could start talk about it, but it is on the plan.
...nector-jdbc/src/main/java/org/apache/flink/connector/jdbc/dialect/JdbcDialectTypeMapper.java
Outdated
Show resolved
Hide resolved
...connector-jdbc/src/main/java/org/apache/flink/connector/jdbc/converter/JdbcRowConverter.java
Outdated
Show resolved
Hide resolved
flink-connector-jdbc/src/main/java/org/apache/flink/connector/jdbc/source/JdbcSource.java
Outdated
Show resolved
Hide resolved
...k-connector-jdbc/src/main/java/org/apache/flink/connector/jdbc/source/JdbcSourceBuilder.java
Outdated
Show resolved
Hide resolved
...c/src/main/java/org/apache/flink/connector/jdbc/source/reader/extractor/ResultExtractor.java
Outdated
Show resolved
Hide resolved
4724698
to
d9cb6ca
Compare
@leonardBang @1996fanrui @snuyanzin can you check please when you have time 70% of the refactor has been completed.
Note: Before the merge, we can consider removing the backward-compatibility module (and workflow) to avoid generating the jar, as it was only meant to be a helper. |
Hi, @eskabetxe |
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 @eskabetxe for the hard work.
LGTM +1.
now ping @1996fanrui
Thanks @eskabetxe for the contribution, and thanks @RocMarshal for the review! Due to both of you are active contributor of flink-connector-jdbc, and you aren't committer. So I will merge this PR if no objection before next Monday(in 5 days). |
This is first phase of FLIP
each task has its own commit
tasks done:
https://issues.apache.org/jira/browse/FLINK-35370
https://issues.apache.org/jira/browse/FLINK-35364
https://issues.apache.org/jira/browse/FLINK-35365
https://issues.apache.org/jira/browse/FLINK-35366
https://issues.apache.org/jira/browse/FLINK-35367
https://issues.apache.org/jira/browse/FLINK-35494