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



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to