[ https://issues.apache.org/jira/browse/HIVE-7641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093419#comment-14093419 ]
Hive QA commented on HIVE-7641: ------------------------------- {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/12660956/HIVE-7641.1.patch.txt {color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 5889 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_opt_vectorization org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_optimization org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_tez_join_hash org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_ql_rewrite_gbtoidx org.apache.hive.hcatalog.pig.TestHCatLoader.testReadDataPrimitiveTypes org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/257/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/257/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-257/ 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: 6 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12660956 > INSERT ... SELECT with no source table leads to NPE > --------------------------------------------------- > > Key: HIVE-7641 > URL: https://issues.apache.org/jira/browse/HIVE-7641 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.13.1 > Reporter: Lenni Kuff > Assignee: Navis > Attachments: HIVE-7641.1.patch.txt > > > When no source table is provided for an INSERT statement Hive fails with NPE. > {code} > 0: jdbc:hive2://localhost:11050/default> create table test_tbl(i int); > No rows affected (0.333 seconds) > 0: jdbc:hive2://localhost:11050/default> insert into table test_tbl select 1; > Error: Error while compiling statement: FAILED: NullPointerException null > (state=42000,code=40000) > -- Get a NPE even when using incorrect syntax (no TABLE keyword) > 0: jdbc:hive2://localhost:11050/default> insert into test_tbl select 1; > Error: Error while compiling statement: FAILED: NullPointerException null > (state=42000,code=40000) > -- Works when a source table is provided > 0: jdbc:hive2://localhost:11050/default> insert into table test_tbl select 1 > from foo; > No rows affected (5.751 seconds) > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)