[ https://issues.apache.org/jira/browse/HIVE-22458?focusedWorklogId=423561&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-423561 ]
ASF GitHub Bot logged work on HIVE-22458: ----------------------------------------- Author: ASF GitHub Bot Created on: 16/Apr/20 16:29 Start Date: 16/Apr/20 16:29 Worklog Time Spent: 10m Work Description: dengzhhu653 commented on pull request #980: HIVE-22458: Add more constraints on showing partitions URL: https://github.com/apache/hive/pull/980#discussion_r409690515 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/show/ShowPartitionAnalyzer.java ########## @@ -89,7 +89,8 @@ public void analyzeInternal(ASTNode ast) throws SemanticException { setFetchTask(createFetchTask(ShowPartitionsDesc.SCHEMA)); } - private ExprNodeDesc getShowPartitionsFilter(Table table, ASTNode command) throws SemanticException { + Review comment: done ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 423561) Time Spent: 1h 10m (was: 1h) > Add more constraints on showing partitions > ------------------------------------------ > > Key: HIVE-22458 > URL: https://issues.apache.org/jira/browse/HIVE-22458 > Project: Hive > Issue Type: Improvement > Reporter: Zhihua Deng > Priority: Major > Labels: pull-request-available > Attachments: HIVE-22458.2.patch, HIVE-22458.3.patch, > HIVE-22458.4.patch, HIVE-22458.5.patch, HIVE-22458.branch-1.02.patch, > HIVE-22458.branch-1.patch, HIVE-22458.patch > > Time Spent: 1h 10m > Remaining Estimate: 0h > > When we showing partitions of a table with thousands of partitions, all the > partitions will be returned and it's not easy to catch the specified one from > them, this make showing partitions hard to use. We can add where/limit/order > by constraints to show partitions like: > show partitions table_name [partition_specs] where partition_key >= value > order by partition_key desc limit n; > -- This message was sent by Atlassian Jira (v8.3.4#803005)