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

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

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


##########
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java:
##########
@@ -291,6 +302,13 @@ protected Boolean findNextCompactionAndExecute(boolean 
collectGenericStats, bool
         return false;
       }
 
+      if (ci.type.equals(CompactionType.REBALANCE) && 
t1.getSd().isSetNumBuckets() && t1.getSd().getNumBuckets() > 0) {

Review Comment:
   do we need to check if isSetNumBuckets(), won't getNumBuckets() > 0 cover 
it? you can set the default to 0 in thrift. 





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

    Worklog Id:     (was: 828944)
    Time Spent: 10h 10m  (was: 10h)

> 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: 10h 10m
>  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