xxsc0529 commented on code in PR #7832:
URL: https://github.com/apache/seatunnel/pull/7832#discussion_r1802217550
##########
seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/catalog/oceanbase/OceanBaseMySqlCatalog.java:
##########
@@ -201,8 +209,7 @@ public CatalogTable getTable(String sqlQuery) throws
SQLException {
try (Statement statement = defaultConnection.createStatement();
ResultSet resultSet = statement.executeQuery(sqlQuery)) {
ResultSetMetaData metaData = resultSet.getMetaData();
- return CatalogUtils.getCatalogTable(
- metaData, new OceanBaseMySqlTypeMapper(typeConverter),
sqlQuery);
+ return getCatalogTable(metaData, defaultConnection.getMetaData(),
sqlQuery);
Review Comment:
No, I reused it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]