You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/12/16 07:57:06 UTC

[GitHub] [inlong] EMsnap commented on a diff in pull request #6921: [INLONG-6780][Sort] Supports dirty data side-output for JDBC connector and related sinks

EMsnap commented on code in PR #6921:
URL: https://github.com/apache/inlong/pull/6921#discussion_r1050460761


##########
inlong-sort/sort-connectors/jdbc/src/main/java/org/apache/inlong/sort/jdbc/internal/JdbcBatchingOutputFormat.java:
##########
@@ -91,13 +93,12 @@
     private transient ScheduledFuture<?> scheduledFuture;
     private transient volatile Exception flushException;
     private transient RuntimeContext runtimeContext;
-
     private transient ListState<MetricState> metricStateListState;
     private transient MetricState metricState;
     private SinkMetricData sinkMetricData;
     private Long dataSize = 0L;
     private Long rowSize = 0L;
-
+    private final Set<In> batchMap = new HashSet<>();

Review Comment:
   batchSet



-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org