[
https://issues.apache.org/jira/browse/HIVE-8107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14135025#comment-14135025
]
Hive QA commented on HIVE-8107:
-------------------------------
{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/12668838/HIVE-8107.patch
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 6277 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.ql.parse.TestParse.testParse_union
{noformat}
Test results:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/814/testReport
Console output:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/814/console
Test logs:
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-814/
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: 1 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12668838
> Bad error message for non-existent table in update and delete
> -------------------------------------------------------------
>
> Key: HIVE-8107
> URL: https://issues.apache.org/jira/browse/HIVE-8107
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Affects Versions: 0.14.0
> Reporter: Alan Gates
> Assignee: Alan Gates
> Attachments: HIVE-8107.patch
>
>
> update no_such_table set x = 3;
> produces an error message like:
> {noformat}
> 2014-09-12 19:45:00,138 ERROR [main]: ql.Driver
> (SessionState.java:printError(824)) - FAILED: SemanticException [Error
> 10290]: Encountered parse error while parsing rewritten update or delete query
> org.apache.hadoop.hive.ql.parse.SemanticException: Encountered parse error
> while parsing rewritten update or delete query
> at
> org.apache.hadoop.hive.ql.parse.UpdateDeleteSemanticAnalyzer.reparseAndSuperAnalyze(UpdateDeleteSemanticAnalyzer.java:130)
> at
> org.apache.hadoop.hive.ql.parse.UpdateDeleteSemanticAnalyzer.analyzeDelete(UpdateDeleteSemanticAnalyzer.java:97)
> at
> org.apache.hadoop.hive.ql.parse.UpdateDeleteSemanticAnalyzer.analyzeInternal(UpdateDeleteSemanticAnalyzer.java:66)
> at
> org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:217)
> at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:406)
> at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:302)
> at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1051)
> at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1121)
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:988)
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:978)
> at
> org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:246)
> at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:198)
> at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:408)
> at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:344)
> at
> org.apache.hadoop.hive.cli.CliDriver.processReader(CliDriver.java:441)
> at org.apache.hadoop.hive.cli.CliDriver.processFile(CliDriver.java:457)
> at
> org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:737)
> at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:675)
> at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:614)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
> Caused by: org.apache.hadoop.hive.ql.metadata.InvalidTableException: Table
> not found no_such_table
> at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1008)
> at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:978)
> at
> org.apache.hadoop.hive.ql.parse.UpdateDeleteSemanticAnalyzer.reparseAndSuperAnalyze(UpdateDeleteSemanticAnalyzer.java:128)
> ... 24 more
> {noformat}
> It should give something much cleaner, or at least push the Table not found
> message to the top rather than bury it in an exception stack.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)