eagle-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EAGLE-629) hive.ql.Parser can`t parse hive sql with keyword
Date Mon, 28 Nov 2016 02:27:58 GMT

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

ASF GitHub Bot commented on EAGLE-629:
--------------------------------------

Github user chitin closed the pull request at:

    https://github.com/apache/incubator-eagle/pull/517


> hive.ql.Parser can`t parse hive sql with keyword
> ------------------------------------------------
>
>                 Key: EAGLE-629
>                 URL: https://issues.apache.org/jira/browse/EAGLE-629
>             Project: Eagle
>          Issue Type: Bug
>         Environment: hive1.2.1
>            Reporter: Lingang Deng
>            Assignee: Lingang Deng
>
> org.apache.eagle.security.hive.ql.Parser can't parser a hive query sql with keywords,It
will throw:
> {code:java}
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hive.conf.HiveConf.getBoolVar(HiveConf.java:2583)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.useSQL11ReservedKeywordsForIdentifier(HiveParser.java:1000)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.useSQL11ReservedKeywordsForIdentifier(HiveParser_IdentifiersParser.java:726)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier(HiveParser_IdentifiersParser.java:10922)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.identifier(HiveParser.java:45850)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableName(HiveParser_FromClauseParser.java:4764)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableAllColumns(HiveParser_FromClauseParser.java:1048)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.tableAllColumns(HiveParser.java:45900)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.synpred1_SelectClauseParser_fragment(HiveParser_SelectClauseParser.java:5514)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.synpred1_SelectClauseParser(HiveParser_SelectClauseParser.java:5560)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser$DFA17.specialStateTransition(HiveParser_SelectClauseParser.java:11160)
> 	at org.antlr.runtime.DFA.predict(DFA.java:80)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectItem(HiveParser_SelectClauseParser.java:2853)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectList(HiveParser_SelectClauseParser.java:1373)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser_SelectClauseParser.selectClause(HiveParser_SelectClauseParser.java:1128)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.selectClause(HiveParser.java:45827)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.selectStatement(HiveParser.java:41495)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.regularBody(HiveParser.java:41230)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.queryStatementExpressionBody(HiveParser.java:40413)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.queryStatementExpression(HiveParser.java:40283)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.execStatement(HiveParser.java:1590)
> 	at org.apache.hadoop.hive.ql.parse.HiveParser.statement(HiveParser.java:1109)
> 	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.parse.ParseDriver.parse(ParseDriver.java:161)
> {code}



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

Mime
View raw message