[ https://issues.apache.org/jira/browse/HIVE-3926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13735770#comment-13735770 ]
Sergey Shelukhin commented on HIVE-3926: ---------------------------------------- Virtual columns were added to the functions that, as far as I see, are only being called with the pruner expression that have been compacted to only contain partition columns. That is used to prune based on partition names when filter pushdown is not possible in metastore. I am wondering if this could be dead code because virtual columns are also not present in that expression. > 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 > Fix For: 0.12.0 > > Attachments: HIVE-3926.6.patch, HIVE-3926.D8121.1.patch, > HIVE-3926.D8121.2.patch, HIVE-3926.D8121.3.patch, HIVE-3926.D8121.4.patch, > HIVE-3926.D8121.5.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