dailai commented on code in PR #7248:
URL: https://github.com/apache/seatunnel/pull/7248#discussion_r1689264580
##########
seatunnel-connectors-v2/connector-cdc/connector-cdc-oracle/src/main/java/org/apache/seatunnel/connectors/seatunnel/cdc/oracle/utils/OracleUtils.java:
##########
@@ -81,27 +82,42 @@ public static Object[] queryMinMax(JdbcConnection jdbc,
TableId tableId, String
});
}
- public static long queryApproximateRowCnt(JdbcConnection jdbc, TableId
tableId)
+ public static long queryApproximateRowCnt(
+ OracleSourceConfig oracleSourceConfig, JdbcConnection jdbc,
TableId tableId)
throws SQLException {
+ Boolean useSelectCount = oracleSourceConfig.getUseSelectCount();
+ Boolean skipAnalyze = oracleSourceConfig.getSkipAnalyze();
final String analyzeTable =
Review Comment:
done
--
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]