[
https://issues.apache.org/jira/browse/HIVE-22977?focusedWorklogId=837796&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-837796
]
ASF GitHub Bot logged work on HIVE-22977:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 09/Jan/23 05:08
Start Date: 09/Jan/23 05:08
Worklog Time Spent: 10m
Work Description: SourabhBadhya commented on code in PR #3801:
URL: https://github.com/apache/hive/pull/3801#discussion_r1064287569
##########
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Compactor.java:
##########
@@ -59,7 +59,7 @@ static long getCompactorTxnId(Configuration jobConf) {
* @param dir provides ACID directory layout information
* @throws IOException compaction cannot be finished.
*/
- void run(HiveConf hiveConf, Table table, Partition partition,
StorageDescriptor storageDescriptor,
+ boolean run(HiveConf hiveConf, Table table, Partition partition,
StorageDescriptor storageDescriptor,
Review Comment:
Described. Done.
Issue Time Tracking
-------------------
Worklog Id: (was: 837796)
Time Spent: 1h 50m (was: 1h 40m)
> Merge delta files instead of running a query in major/minor compaction
> ----------------------------------------------------------------------
>
> Key: HIVE-22977
> URL: https://issues.apache.org/jira/browse/HIVE-22977
> Project: Hive
> Issue Type: Improvement
> Reporter: László Pintér
> Assignee: Sourabh Badhya
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-22977.01.patch, HIVE-22977.02.patch
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> [Compaction Optimiziation]
> We should analyse the possibility to move a delta file instead of running a
> major/minor compaction query.
> Please consider the following use cases:
> - full acid table but only insert queries were run. This means that no
> delete delta directories were created. Is it possible to merge the delta
> directory contents without running a compaction query?
> - full acid table, initiating queries through the streaming API. If there
> are no abort transactions during the streaming, is it possible to merge the
> delta directory contents without running a compaction query?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)