[
https://issues.apache.org/jira/browse/HIVE-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105782#comment-13105782
]
He Yongqiang commented on HIVE-2451:
------------------------------------
+1, will commit after tests pass
> 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
>
>
> 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