You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vineet Garg (JIRA)" <ji...@apache.org> on 2019/08/16 04:29:00 UTC

[jira] [Assigned] (HIVE-22121) Turning on hive.tez.bucket.pruning produce wrong results

     [ https://issues.apache.org/jira/browse/HIVE-22121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vineet Garg reassigned HIVE-22121:
----------------------------------


> Turning on hive.tez.bucket.pruning produce wrong results
> --------------------------------------------------------
>
>                 Key: HIVE-22121
>                 URL: https://issues.apache.org/jira/browse/HIVE-22121
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>
> *Reproducer*
> {code:sql}
> set hive.query.results.cache.enabled=false;
> set hive.optimize.ppd.storage=true;
> set hive.optimize.index.filter=true;
> set hive.tez.bucket.pruning=true; 
> CREATE TABLE `test_table`(                 
>    `col_1` int,                                     
>    `col_2` string,                                  
>    `col_3` string)                                  
>  CLUSTERED BY (                                     
>    col_1)                                           
>  INTO 4 BUCKETS;                                     
> insert into test_table values(1, 'one', 'ONE'), (2, 'two', 'TWO'), (3,'three','THREE'),(4,'four','FOUR');
> select * from test_table;
> explain select col_1, col_2, col_3 from test_table where col_1 <> 2 order by col_2;
> select col_1, col_2, col_3 from test_table where col_1 <> 2 order by col_2;
> {code}
> Above sql query produce zero rows.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)