-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Feature][Connector-V2] Support the jdbc connector for highgo db #8282
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
Conversation
…hgo-supprot # Conflicts: # seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/catalog/highgo/HighGoCatalog.java # seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/catalog/highgo/HighGoCatalogFactory.java # seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/internal/dialect/highgo/HighGoDialectFactory.java # seatunnel-e2e/seatunnel-connector-v2-e2e/connector-jdbc-e2e/connector-jdbc-e2e-part-7/src/test/java/org/apache/seatunnel/connectors/seatunnel/jdbc/JdbcHighGoIT.java
...c/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/catalog/highgo/HighGoCatalog.java
Outdated
Show resolved
Hide resolved
| // set connection | ||
| ((HighGoCatalog) catalog).setConnection(jdbcUrl, connection); |
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 not let HighGoCatalog create new jdbc connection by itself?
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 not let
HighGoCatalogcreate new jdbc connection by itself?
I looked at other JDBC test cases that implemented setConnection, such as iris opengauss, So I imitated and implemented it. And if this setconnection is not implemented, it will cause the test code to have a 'No suitable driver found for' issue
Purpose of this pull request
New jdbc connector for highgo db.
Does this PR introduce any user-facing change?
yes
How was this patch tested?
testcontainers
Check list
New License Guide
release-note.