[ https://issues.apache.org/jira/browse/HIVE-3926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-3926: ------------------------------ Attachment: HIVE-3926.D8121.1.patch navis requested code review of "HIVE-3926 [jira] PPD on virtual column of partitioned table is not working". Reviewers: JIRA DPAL-1969 PPD on virtual column of partitioned table is not working select * from src where BLOCK__OFFSET__INSIDE__FILE<100; is working, but select * from srcpart where BLOCK__OFFSET__INSIDE__FILE<100; throws SemanticException. Disabling PPD makes it work. TEST PLAN EMPTY REVISION DETAIL https://reviews.facebook.net/D8121 AFFECTED FILES ql/src/java/org/apache/hadoop/hive/ql/Driver.java ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java ql/src/java/org/apache/hadoop/hive/ql/metadata/VirtualColumn.java ql/src/java/org/apache/hadoop/hive/ql/optimizer/BucketMapJoinOptimizer.java ql/src/java/org/apache/hadoop/hive/ql/optimizer/GenMapRedUtils.java ql/src/java/org/apache/hadoop/hive/ql/optimizer/GlobalLimitOptimizer.java ql/src/java/org/apache/hadoop/hive/ql/optimizer/GroupByOptimizer.java ql/src/java/org/apache/hadoop/hive/ql/optimizer/SortedMergeBucketMapJoinOptimizer.java ql/src/java/org/apache/hadoop/hive/ql/optimizer/listbucketingpruner/LBPartitionProcFactory.java ql/src/java/org/apache/hadoop/hive/ql/optimizer/pcr/PcrExprProcCtx.java ql/src/java/org/apache/hadoop/hive/ql/optimizer/pcr/PcrExprProcFactory.java ql/src/java/org/apache/hadoop/hive/ql/optimizer/pcr/PcrOpProcFactory.java ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartExprEvalUtils.java ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartitionPruner.java ql/src/java/org/apache/hadoop/hive/ql/parse/ParseContext.java ql/src/java/org/apache/hadoop/hive/ql/plan/TableScanDesc.java ql/src/test/queries/clientpositive/ppd_vc.q ql/src/test/results/clientpositive/ppd_vc.q.out serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorFactory.java MANAGE HERALD DIFFERENTIAL RULES https://reviews.facebook.net/herald/view/differential/ WHY DID I GET THIS EMAIL? https://reviews.facebook.net/herald/transcript/19569/ To: JIRA, navis > PPD on virtual column of partitioned table is not working > --------------------------------------------------------- > > Key: HIVE-3926 > URL: https://issues.apache.org/jira/browse/HIVE-3926 > Project: Hive > Issue Type: Bug > Components: Query Processor > Reporter: Navis > Assignee: Navis > Priority: Minor > Attachments: HIVE-3926.D8121.1.patch > > > {code} > select * from src where BLOCK__OFFSET__INSIDE__FILE<100; > {code} > is working, but > {code} > select * from srcpart where BLOCK__OFFSET__INSIDE__FILE<100; > {code} > throws SemanticException. Disabling PPD makes it work. -- 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