veghlaci05 commented on code in PR #3746:
URL: https://github.com/apache/hive/pull/3746#discussion_r1034467684


##########
ql/src/java/org/apache/hadoop/hive/ql/plan/FileSinkDesc.java:
##########
@@ -390,6 +394,17 @@ public boolean isCompactionTable() {
         : AcidUtils.isCompactionTable(getTableInfo().getProperties());
   }
 
+  /**
+   * @return true if the compaction type is 'REBALANCE', false otherwise.
+   */
+  public boolean isRebalanceCompactionTable() {

Review Comment:
   To move it into AcidUtils it should be sp;itted to two methods like the 
isMajorCompaction() to handle both Properties and Map. Considering it has a 
single usage I thought it's not worth moving this method there.



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