You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/08/25 02:50:52 UTC

[GitHub] [iceberg] moon-fall commented on a change in pull request #3012: Flink: use deleteKey method when write delete data to only write the parimary key to the eqDeleteFile

moon-fall commented on a change in pull request #3012:
URL: https://github.com/apache/iceberg/pull/3012#discussion_r695351726



##########
File path: flink/src/main/java/org/apache/iceberg/flink/sink/BaseDeltaTaskWriter.java
##########
@@ -63,6 +70,15 @@ RowDataWrapper wrapper() {
     return wrapper;
   }
 
+  RowData projectDeleteData(RowData data) {
+    wrapper.wrap(data);

Review comment:
       this is to wrap the raw data ,I use RowDataWrapper to select the primary key to generate the projected RowData.




-- 
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: issues-unsubscribe@iceberg.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org