deniskuzZ commented on code in PR #4477:
URL: https://github.com/apache/hive/pull/4477#discussion_r1272015821


##########
ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java:
##########
@@ -76,6 +80,24 @@ public static UnionWork createUnionWork(
     tezWork.add(unionWork);
     return unionWork;
   }
+  
+  private static boolean isRestrictReducerExtrapolation(GenTezProcContext 
context) {
+
+    Table table = 
context.parseContext.getContext().getLoadTableOutputMap().values()
+            .stream().findFirst().get().getTable();
+
+    // Iceberg table
+    if (DDLUtils.isIcebergTable(table)) {
+      return true;
+    }
+
+    // Hive ACID table
+    if (!table.isNonNative() && AcidUtils.isTransactionalTable(table)) {

Review Comment:
   I am not sure it's required for ACID tables as we have built-in compaction 
support



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