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


##########
ql/src/java/org/apache/hadoop/hive/ql/parse/GenTezUtils.java:
##########
@@ -86,6 +108,13 @@ public static ReduceWork createReduceWork(
 
     float maxPartitionFactor =
         context.conf.getFloatVar(HiveConf.ConfVars.TEZ_MAX_PARTITION_FACTOR);
+    
+    if (context.parseContext.getContext().getOperation() == 
Context.Operation.DELETE &&
+            isRestrictReducerExtrapolation(context)) {
+      LOG.debug("Overriding maxPartitionFactor to 1.0 to prevent creation of 
small files after delete operation");
+      maxPartitionFactor = 1f;

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