-
Notifications
You must be signed in to change notification settings - Fork 183
[FLINK-37737] Add support for GaussDB database type #162
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
base: main
Are you sure you want to change the base?
Conversation
Thanks for opening this pull request! Please check out our contributing guidelines. (https://flink.apache.org/contributing/how-to-contribute.html) |
...aussdb/src/test/java/org/apache/flink/connector/jdbc/gaussdb/testutils/GaussDBContainer.java
Show resolved
Hide resolved
|
Pls check you files type , used 'int4' instead of 'int1' |
Click here to join Jira discuss。 |
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.
Some minor comments left..
Is GaussDD a postgres syntax compatible? if yes please use CrateDB as reference.
@1996fanrui can you run CI/CD please
* <p>Notes: The source code is based on CompatiblePostgresDialect. | ||
*/ | ||
@PublicEvolving | ||
public abstract class CompatibleGaussdbDialect extends GaussdbDialect { |
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.
Why this compatible class??
Are GaussDB a postgres syntax compatible database? If yes the GaussDBDialect should extend the CompatiblePostgresDialect, but we dont need to create this classes..
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.
Thank you very much for your review !
In fact, GaussDB has its own dialect and is not compatible with Postgresql, such as the update syntax.In the future, they will have more incompatibilities.
Add support for GaussDB database type, So you can use Flink jdbc to write to the gaussdb database now。