hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12200) INSERT INTO table using a select statement w/o a FROM clause fails
Date Mon, 19 Oct 2015 20:20:27 GMT

    [ https://issues.apache.org/jira/browse/HIVE-12200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14963981#comment-14963981
] 

Chaoyu Tang commented on HIVE-12200:
------------------------------------

The patch looks good. +1

> INSERT INTO table using a select statement w/o a FROM clause fails
> ------------------------------------------------------------------
>
>                 Key: HIVE-12200
>                 URL: https://issues.apache.org/jira/browse/HIVE-12200
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Minor
>             Fix For: 1.3.0, 2.0.0
>
>         Attachments: HIVE-12200.1.patch
>
>
> Here is the stack trace:
> {noformat}
> FailedPredicateException(regularBody,{$s.tree.getChild(1) !=null}?)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.regularBody(HiveParser.java:41047)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.queryStatementExpressionBody(HiveParser.java:40222)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.queryStatementExpression(HiveParser.java:40092)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.execStatement(HiveParser.java:1656)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.statement(HiveParser.java:1140)
> 	at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:202)
> 	at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:166)
> 	at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:407)
> 	at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:312)
> 	at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1162)
> 	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1215)
> 	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1091)
> 	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1081)
> 	at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:225)
> 	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:177)
> 	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:388)
> 	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:323)
> 	at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:731)
> 	at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:704)
> 	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:633)
> 	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)
> FAILED: ParseException line 1:29 Failed to recognize predicate '<EOF>'. Failed
rule: 'regularBody' in statement
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message