[ https://issues.apache.org/jira/browse/HIVE-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
He Yongqiang updated HIVE-2451: ------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) committed, thanks Siying! > TABLESAMBLE(BUCKET xxx) sometimes doesn't trigger input pruning as regression > of HIVE-1538 > ------------------------------------------------------------------------------------------ > > Key: HIVE-2451 > URL: https://issues.apache.org/jira/browse/HIVE-2451 > Project: Hive > Issue Type: Bug > Reporter: Siying Dong > Assignee: Siying Dong > Attachments: HIVE-2451.1.patch, HIVE-2451.2.patch, HIVE-2451.3.patch > > > Example: > select count(1) from <bucket_table> TABLESAMPLE(BUCKET xxx out of yyy) where > <partition_column> = 'xxx' > will not trigger input pruning. > The reason is that we assume sample filtering operator only happens as the > second filter after table scan, which is broken by HIVE-1538, even if the > feature doesn't turn on. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira