[ https://issues.apache.org/jira/browse/HIVE-3899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13555346#comment-13555346 ]
Hudson commented on HIVE-3899: ------------------------------ Integrated in Hive-trunk-hadoop2 #68 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/68/]) HIVE-3899 Partition pruning fails on <constant> = <constant> expression (Kevin Wilfong via namit) (Revision 1433842) Result = FAILURE namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1433842 Files : * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java * /hive/trunk/ql/src/test/queries/clientpositive/ppd_constant_where.q * /hive/trunk/ql/src/test/results/clientpositive/ppd_constant_where.q.out > 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 > Fix For: 0.11.0 > > 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