flink-connector-jdbc icon indicating copy to clipboard operation
flink-connector-jdbc copied to clipboard

[FLINK-37737] Add support for GaussDB database type

Open Tyhoning opened this issue 7 months ago • 5 comments

Add support for GaussDB database type, So you can use Flink jdbc to write to the gaussdb database now。

Tyhoning avatar Apr 18 '25 04:04 Tyhoning

Thanks for opening this pull request! Please check out our contributing guidelines. (https://flink.apache.org/contributing/how-to-contribute.html)

boring-cyborg[bot] avatar Apr 18 '25 04:04 boring-cyborg[bot]

@Tyhoning

[ERROR] Could not execute SQL statement. Reason:
java.lang.UnsupportedOperationException: Doesn't support Gaussdb type 'int1' yet

macdoor avatar Apr 25 '25 07:04 macdoor

@Tyhoning

[ERROR] Could not execute SQL statement. Reason:
java.lang.UnsupportedOperationException: Doesn't support Gaussdb type 'int1' yet

Pls check you files type , used 'int4' instead of 'int1'

Tyhoning avatar Apr 27 '25 03:04 Tyhoning

Click here to join Jira discuss。
https://issues.apache.org/jira/browse/FLINK-37737

Tyhoning avatar Apr 27 '25 08:04 Tyhoning

Some minor comments left..

Is GaussDD a postgres syntax compatible? if yes please use CrateDB as reference.

@1996fanrui can you run CI/CD please

GaussDB was developed from PostgreSQL but now is not compatible with PostgreSQL and will not in the future.

liubao68 avatar Aug 15 '25 08:08 liubao68

This PR is being marked as stale since it has not had any activity in the last 90 days. If you would like to keep this PR alive, please leave a comment asking for a review. If the PR has merge conflicts, update it with the latest from the base branch.

If you are having difficulty finding a reviewer, please reach out to the community, contact details can be found here: https://flink.apache.org/what-is-flink/community/

If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed.

github-actions[bot] avatar Nov 29 '25 06:11 github-actions[bot]