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


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

        

Reply via email to