[ https://issues.apache.org/jira/browse/HIVE-9499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14298503#comment-14298503 ]
Hive QA commented on HIVE-9499: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12695429/HIVE-9499.2.patch.txt {color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 7410 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_index_bitmap_auto org.apache.hive.hcatalog.streaming.TestStreaming.testTransactionBatchCommit_Json org.apache.hive.hcatalog.templeton.TestWebHCatE2e.getHiveVersion {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2582/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2582/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-2582/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 3 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12695429 - PreCommit-HIVE-TRUNK-Build > hive.limit.query.max.table.partition makes queries fail on non-partitioned > tables > --------------------------------------------------------------------------------- > > Key: HIVE-9499 > URL: https://issues.apache.org/jira/browse/HIVE-9499 > Project: Hive > Issue Type: Bug > Affects Versions: 0.14.0 > Reporter: Alexander Kasper > Assignee: Navis > Attachments: HIVE-9499.1.patch.txt, HIVE-9499.2.patch.txt > > > If you use hive.limit.query.max.table.partition to limit the amount of > partitions that can be queried it makes queries on non-partitioned tables > fail. > Example: > {noformat} > CREATE TABLE tmp(test INT); > SELECT COUNT(*) FROM TMP; -- works fine > SET hive.limit.query.max.table.partition=20; > SELECT COUNT(*) FROM TMP; -- generates NPE (FAILED: NullPointerException null) > SET hive.limit.query.max.table.partition=-1; > SELECT COUNT(*) FROM TMP; -- works fine again > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)