difin commented on code in PR #4855:
URL: https://github.com/apache/hive/pull/4855#discussion_r1392513343


##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergOutputCommitter.java:
##########
@@ -437,6 +440,10 @@ private void commitTable(FileIO io, ExecutorService 
executor, OutputTable output
       dataFiles.addAll(writeResults.dataFiles());
       deleteFiles.addAll(writeResults.deleteFiles());
       referencedDataFiles.addAll(writeResults.referencedDataFiles());
+
+      isCompaction = isCompaction || Optional.ofNullable(SessionState.get())

Review Comment:
   Fixed. 
   It's was a leftover from previous variations, previously the compaction flag 
was taken from job conf and there is a list of them in OutputTable.



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