ryukobayashi commented on code in PR #6794:
URL: https://github.com/apache/hive/pull/6794#discussion_r4332918118


##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/writer/HiveIcebergCopyOnWriteRecordWriter.java:
##########
@@ -58,23 +63,32 @@ public void write(Writable row) throws IOException {
     Record rowData = rowDataTemplate;
 
     if (positionDelete.pos() < 0) {
+      // A negative position is a matched-row marker whose magnitude 
contributes to the affected-row count.
+      affectedRows += -positionDelete.pos();

Review Comment:
   I will fix it.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to