[
https://issues.apache.org/jira/browse/HIVE-26580?focusedWorklogId=825651&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-825651
]
ASF GitHub Bot logged work on HIVE-26580:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Nov/22 07:59
Start Date: 14/Nov/22 07:59
Worklog Time Spent: 10m
Work Description: rkirtir commented on code in PR #3708:
URL: https://github.com/apache/hive/pull/3708#discussion_r1021173460
##########
ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java:
##########
@@ -230,6 +230,20 @@ public boolean accept(Path path) {
}
};
+ public enum CompactionColumn {
Review Comment:
Added UI input->Schema mapping enum to ShowCompactionsAnalyzer. We cannot
take name as it is which is in output. It will be like this
COMPACTIONID("CC_ID"),
PART_NAME("CC_PARTITION"),
DB_NAME("CC_DATABASE"),
TB_NAME("CC_TABLE"),
TYPE("CC_TYPE"),
STATE("CC_STATE"),
WORKERHOST("CC_WORKER_ID"),
ENQUEUETIME("CC_ENQUEUE_TIME"),
POOLNAME("CC_POOL_NAME"),
Worker("CC_WORKER_VERSION"),
START_TIME("CC_START"),
TXNID ("CC_TXN_ID"),
HADOOPJOBID("CC_HADOOP_JOB_ID");
This has to go in hive show compaction wiki
Issue Time Tracking
-------------------
Worklog Id: (was: 825651)
Time Spent: 6h 40m (was: 6.5h)
> SHOW COMPACTIONS should support ordering and limiting functionality in
> filtering options
> ----------------------------------------------------------------------------------------
>
> Key: HIVE-26580
> URL: https://issues.apache.org/jira/browse/HIVE-26580
> Project: Hive
> Issue Type: Improvement
> Affects Versions: 3.0.0
> Reporter: KIRTI RUGE
> Assignee: KIRTI RUGE
> Priority: Major
> Labels: pull-request-available
> Time Spent: 6h 40m
> Remaining Estimate: 0h
>
> SHOW COMPACTION should provide ordering by defied table . It should also
> support limitation of fetched records
--
This message was sent by Atlassian Jira
(v8.20.10#820010)