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

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

                Author: ASF GitHub Bot
            Created on: 14/Mar/22 11:04
            Start Date: 14/Mar/22 11:04
    Worklog Time Spent: 10m 
      Work Description: deniskuzZ commented on a change in pull request #2971:
URL: https://github.com/apache/hive/pull/2971#discussion_r825828027



##########
File path: 
ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/CompactorTest.java
##########
@@ -271,6 +273,11 @@ protected void addLegacyFile(Table t, Partition p, int 
numRecords) throws Except
     addFile(t, p, 0, 0, numRecords, FileType.LEGACY, 2, true);
   }
 
+  protected void addDeltaFile(Table t, Partition p, long minTxn, long maxTxn, 
int numRecords,
+      long visibilityId) throws Exception {
+    addFile(t, p, minTxn, maxTxn, numRecords, FileType.DELTA, 2, true, 
visibilityId);

Review comment:
       this change has 0 effect, as it visibilityId is not used in delta file 
creation. Should be 
   ````
   case DELTA: filename = AcidUtils.addVisibilitySuffix(
       makeDeltaDirName(minTxn, maxTxn),
       visibilityId); 
   ````




-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 740798)
    Time Spent: 1h 40m  (was: 1.5h)

> Enhance Compaction Cleaner to skip when there is nothing to do #2
> -----------------------------------------------------------------
>
>                 Key: HIVE-25977
>                 URL: https://issues.apache.org/jira/browse/HIVE-25977
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> initially this was just an addendum to the original patch ; but got delayed 
> and altered - so it should have its own ticket



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to