[ https://issues.apache.org/jira/browse/HIVE-22121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16912904#comment-16912904 ]
Hive QA commented on HIVE-22121: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12978238/HIVE-22121.1patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 16745 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMiniDruidKafkaCliDriver.testCliDriver[druidkafkamini_avro] (batchId=296) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[tez_fixed_bucket_pruning] (batchId=182) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/18378/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/18378/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-18378/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 2 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12978238 - PreCommit-HIVE-Build > 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 > Affects Versions: 3.1.0, 4.0.0 > Reporter: Vineet Garg > Assignee: Vineet Garg > Priority: Major > Attachments: HIVE-22121.1patch > > > *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 (v8.3.2#803003)