[ 
https://issues.apache.org/jira/browse/HIVE-26716?focusedWorklogId=829574&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-829574
 ]

ASF GitHub Bot logged work on HIVE-26716:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Nov/22 08:03
            Start Date: 29/Nov/22 08:03
    Worklog Time Spent: 10m 
      Work Description: deniskuzZ commented on code in PR #3746:
URL: https://github.com/apache/hive/pull/3746#discussion_r1034411726


##########
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/MRCompactor.java:
##########
@@ -261,7 +285,7 @@ public void run(HiveConf conf, String jobName, Table t, 
Partition p, StorageDesc
 
     StringableList dirsToSearch = new StringableList();
     Path baseDir = null;
-    if (ci.isMajorCompaction()) {
+    if (CompactionType.MAJOR.equals(ci.type)) {

Review Comment:
   ````
   boolean isMajorCompaction(ci){
   return CompactionType.MAJOR.equals(ci.type)
   }
   ````
   i think that is a useful helper function, but up to you





Issue Time Tracking
-------------------

    Worklog Id:     (was: 829574)
    Time Spent: 14h 40m  (was: 14.5h)

> Query based Rebalance compaction on full acid tables
> ----------------------------------------------------
>
>                 Key: HIVE-26716
>                 URL: https://issues.apache.org/jira/browse/HIVE-26716
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive
>            Reporter: László Végh
>            Assignee: László Végh
>            Priority: Major
>              Labels: ACID, compaction, pull-request-available
>          Time Spent: 14h 40m
>  Remaining Estimate: 0h
>
> Support rebalancing compaction on fully ACID tables.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to