[ 
https://issues.apache.org/jira/browse/HIVE-13788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15922714#comment-15922714
 ] 

Sergey Shelukhin commented on HIVE-13788:
-----------------------------------------

Hmm... it would be better to expand directsql to existing getPartitions calls 
instead of using pruner w/o any expression to prune.


> hive msck listpartitions need to make use of directSQL instead of datanucleus
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-13788
>                 URL: https://issues.apache.org/jira/browse/HIVE-13788
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Rajesh Balamohan
>            Assignee: Hari Sankar Sivarama Subramaniyan
>            Priority: Minor
>             Fix For: 2.2.0
>
>         Attachments: HIVE-13788.1.patch, HIVE-13788.2.patch, 
> msck_call_stack_with_fix.png, msck_stack_trace.png
>
>
> Currently, for tables having 1000s of partitions too many DB calls are made 
> via datanucleus.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to