You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kevin Wilfong (JIRA)" <ji...@apache.org> on 2013/01/15 04:42:14 UTC
[jira] [Commented] (HIVE-3899) Partition pruning fails on
= expression
[ https://issues.apache.org/jira/browse/HIVE-3899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553462#comment-13553462 ]
Kevin Wilfong commented on HIVE-3899:
-------------------------------------
https://reviews.facebook.net/D7917
> Partition pruning fails on <constant> = <constant> expression
> -------------------------------------------------------------
>
> Key: HIVE-3899
> URL: https://issues.apache.org/jira/browse/HIVE-3899
> Project: Hive
> Issue Type: Bug
> Components: Metastore, Query Processor
> Affects Versions: 0.11.0
> Reporter: Kevin Wilfong
> Assignee: Kevin Wilfong
>
> When a query has a filter that is the conjunction of only
> <partition_column> = <string constant>
> and
> <string constant> = <string constant>
> The whole filter will be passed to the metastore's get_partitions_by_filter method. The grammar used to parse the filter only supports filters where one side is a column, so it fails on the <constant> = <constant> expression.
> These should be caught in the checkJDOPushDown method in the Utilities class.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira