You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "healchow (via GitHub)" <gi...@apache.org> on 2023/02/07 06:34:09 UTC

[GitHub] [inlong] healchow commented on a diff in pull request #7253: [INLONG-7249][Sort] JDBC accurate dirty data archive and metric calculation

healchow commented on code in PR #7253:
URL: https://github.com/apache/inlong/pull/7253#discussion_r1098228541


##########
inlong-sort/sort-connectors/base/src/main/java/org/apache/inlong/sort/base/dirty/sink/log/LogDirtySink.java:
##########
@@ -71,7 +71,9 @@ public void invoke(DirtyData<T> dirtyData) throws Exception {
         String value;
         Map<String, String> labelMap = LabelUtils.parseLabels(dirtyData.getLabels());
         T data = dirtyData.getData();
+        LOGGER.info("data is : {},{}", data, data.getClass());
         if (data instanceof RowData) {
+            LOGGER.info("rowdata is: {},{},{}", data, dirtyData.getRowType(), labelMap);

Review Comment:
   Duplicate log with #L74.



-- 
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