Skip to content

Conversation

@SimonChou12138
Copy link
Contributor

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

…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
Comment on lines 307 to 308
// set connection
((HighGoCatalog) catalog).setConnection(jdbcUrl, connection);
Copy link
Member

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?

Copy link
Contributor Author

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?

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

@Hisoka-X Hisoka-X changed the title Support the jdbc connector for highgo db [Feature][Connector-V2] Support the jdbc connector for highgo db Dec 16, 2024
@hailin0 hailin0 merged commit aa381cb into apache:dev Dec 16, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants