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

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

                Author: ASF GitHub Bot
            Created on: 14/Nov/22 10:31
            Start Date: 14/Nov/22 10:31
    Worklog Time Spent: 10m 
      Work Description: SourabhBadhya commented on code in PR #3746:
URL: https://github.com/apache/hive/pull/3746#discussion_r1021327481


##########
ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java:
##########
@@ -1052,8 +1053,15 @@ public void process(Object row, int tag) throws 
HiveException {
           createNewPaths(null, lbDirName);
         }
       } else if (conf.isCompactionTable()) {
-        int bucketProperty = getBucketProperty(row);
-        bucketId = 
BucketCodec.determineVersion(bucketProperty).decodeWriterId(bucketProperty);
+        if (conf.isRebalanceCompactionTable()) {
+          //For rebalacning compaction, the unencoded bucket id comes in the 
bucketproperty. It must be encoded before

Review Comment:
   nit: Typo





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

    Worklog Id:     (was: 825697)
    Time Spent: 50m  (was: 40m)

> 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: 50m
>  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