[ https://issues.apache.org/jira/browse/HIVE-23216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089998#comment-17089998 ]
Vineet Garg commented on HIVE-23216: ------------------------------------ bq. Under what circumstances is hasUnknownPartitions=true ? [~thejas] This new API is just wrapper around {{get_partitions_by_expr}}, {{hasUnknownPartitions}} will be true/false under same circumstances as old api. Thus depending upon what {{getPartitionNamesPrunedByExprNoTxn}} returns {{hasUnknownPartitions}} will be true or false. > Add new api as replacement of get_partitions_by_expr to return PartitionSpec > instead of Partitions > -------------------------------------------------------------------------------------------------- > > Key: HIVE-23216 > URL: https://issues.apache.org/jira/browse/HIVE-23216 > Project: Hive > Issue Type: Improvement > Components: Metastore > Affects Versions: 4.0.0 > Reporter: Vineet Garg > Assignee: Vineet Garg > Priority: Major > Attachments: HIVE-23216.1.patch, HIVE-23216.2.patch, > HIVE-23216.3.patch, HIVE-23216.4.patch, HIVE-23216.5.patch > > Time Spent: 10m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)