garyli1019 commented on a change in pull request #4981:
URL: https://github.com/apache/hudi/pull/4981#discussion_r822566955



##########
File path: 
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/table/action/commit/FlinkWriteHelper.java
##########
@@ -91,13 +91,14 @@ public static FlinkWriteHelper newInstance() {
   @Override
   public List<HoodieRecord<T>> deduplicateRecords(
       List<HoodieRecord<T>> records, HoodieIndex<?, ?> index, int parallelism) 
{
+    final boolean hasInsert = 
records.get(0).getCurrentLocation().getInstantTime().equals("I");

Review comment:
       thanks for your contribution. would you add a test for cow table so we 
can reproduce?




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


Reply via email to