snuyanzin commented on code in PR #26893:
URL: https://github.com/apache/flink/pull/26893#discussion_r2270051294
##########
flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/runtime/operators/deduplicate/utils/DeduplicateFunctionHelper.java:
##########
@@ -292,6 +292,20 @@ public static boolean shouldKeepCurrentRow(
}
}
+ private static boolean areRowsWithSameContent(
+ RecordEqualiser equaliser, RowData prevRow, RowData currentRow) {
+ final RowKind prevRowKind = prevRow.getRowKind();
+ final RowKind currentRowKind = currentRow.getRowKind();
+ if (prevRowKind == RowKind.INSERT && currentRowKind ==
RowKind.UPDATE_AFTER) {
Review Comment:
here it is impossible (so far)
since this method is called from either
https://github.com/apache/flink/blob/2da2e5f6e2ab7f8295c3ae4d570f305b73b20416/flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/runtime/operators/deduplicate/utils/DeduplicateFunctionHelper.java#L114C9-L114C84
or
https://github.com/apache/flink/blob/2da2e5f6e2ab7f8295c3ae4d570f305b73b20416/flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/runtime/operators/deduplicate/utils/DeduplicateFunctionHelper.java#L168
condition
--
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]