Kevin Wilfong created HIVE-3899:
-----------------------------------

             Summary: 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

Reply via email to