[ https://issues.apache.org/jira/browse/HIVE-26580?focusedWorklogId=824666&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-824666 ]
ASF GitHub Bot logged work on HIVE-26580: ----------------------------------------- Author: ASF GitHub Bot Created on: 09/Nov/22 16:53 Start Date: 09/Nov/22 16:53 Worklog Time Spent: 10m Work Description: deniskuzZ commented on code in PR #3708: URL: https://github.com/apache/hive/pull/3708#discussion_r1018189155 ########## ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java: ########## @@ -3438,4 +3452,14 @@ public static CompactionState compactionStateStr2Enum(String inputValue) throws throw new SemanticException("Unexpected compaction state " + inputValue); } } + + public static CompactionColumn compactionColStr2Enum(String inputValue) throws SemanticException { + try { + return CompactionColumn.valueOf(inputValue.toUpperCase()); + }catch (IllegalArgumentException e) { + throw new SemanticException("Unexpected sorting column name" + inputValue); Review Comment: space at the end Issue Time Tracking ------------------- Worklog Id: (was: 824666) Time Spent: 3h 50m (was: 3h 40m) > 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: 3h 50m > 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)