Yizhou-Yang commented on code in PR #7580:
URL: https://github.com/apache/inlong/pull/7580#discussion_r1139751607
##########
inlong-sort/sort-connectors/jdbc/src/main/java/org/apache/inlong/sort/jdbc/internal/JdbcBatchingOutputFormat.java:
##########
@@ -184,7 +191,7 @@ public void open(int taskNumber, int numTasks) throws
IOException {
if (!closed) {
try {
flush();
- if (sinkMetricData != null) {
+ if (sinkMetricData != null &&
dirtySink == null) {
Review Comment:
This report is only needed when TableMetricExecutor is not initialized,
since TableMetricExecutor will do precise metric report
--
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]