hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Wilfong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-3899) Partition pruning fails on <constant> = <constant> expression
Date Tue, 15 Jan 2013 03:44:12 GMT

     [ https://issues.apache.org/jira/browse/HIVE-3899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kevin Wilfong updated HIVE-3899:
--------------------------------

    Attachment: HIVE-3899.1.patch.txt
    
> 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
>         Attachments: HIVE-3899.1.patch.txt
>
>
> 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

Mime
View raw message