marton-bod commented on code in PR #3131:
URL: https://github.com/apache/hive/pull/3131#discussion_r844995858


##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/mapreduce/IcebergInputFormat.java:
##########
@@ -234,22 +240,23 @@ private static void checkResiduals(CombinedScanTask task) 
{
     private CloseableIterator<T> currentIterator;
     private FileIO io;
     private EncryptionManager encryptionManager;
+    private Table table;

Review Comment:
   We need the whole table object for this call:
   ```
   MetadataColumns#metadataColumn(Table table, String name)
   ```
   (which is called inside IcebergAcidUtil#createFileReadSchemaForDelete)
   -> this gives us the _partition metadata column during file read



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