hk-lrzy commented on a change in pull request #2553:
URL: https://github.com/apache/hudi/pull/2553#discussion_r581018513



##########
File path: 
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/client/HoodieFlinkWriteClient.java
##########
@@ -111,7 +124,23 @@ public void bootstrap(Option<Map<String, String>> 
extraMetadata) {
         getTableAndInitCtx(WriteOperationType.UPSERT, instantTime);
     table.validateUpsertSchema();
     preWrite(instantTime, WriteOperationType.UPSERT);
-    HoodieWriteMetadata<List<WriteStatus>> result = table.upsert(context, 
instantTime, records);
+    final HoodieRecord<T> record = records.get(0);

Review comment:
       So we also need to filter dupicate record in query side to avoid 
repeat-record?




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to