[
https://issues.apache.org/jira/browse/HIVE-26482?focusedWorklogId=808141&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-808141
]
ASF GitHub Bot logged work on HIVE-26482:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Sep/22 07:33
Start Date: 13/Sep/22 07:33
Worklog Time Spent: 10m
Work Description: lcspinter merged PR #3532:
URL: https://github.com/apache/hive/pull/3532
Issue Time Tracking
-------------------
Worklog Id: (was: 808141)
Time Spent: 1h 20m (was: 1h 10m)
> Create a unit test checking compaction output file names on a partitioned
> table
> -------------------------------------------------------------------------------
>
> Key: HIVE-26482
> URL: https://issues.apache.org/jira/browse/HIVE-26482
> Project: Hive
> Issue Type: Test
> Components: Hive
> Reporter: Zsolt Miskolczi
> Assignee: Zsolt Miskolczi
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Compaction output directories' writeIds only reflect the writeIds of the
> deltas it compacts, and not the max write id of the table
> Example:
> Pre-compaction...
> {code:java}
> Partition p=1 contains:
> delta_1_1
> delta_2_2
> partition p=2 contains
> delta_3_3
> delta_4_4
> {code}
> After minor compaction...
> {code:java}
> Partition p=1 contains:
> delta_1_2
> partition p=2 contains
> delta_3_4
> {code}
> AFAIK there are no unit tests that reflect this.
> TestTxnCommands2#testFullACIDAbortWithManyPartitions is a good template to
> start with.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)