You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/04/29 02:12:12 UTC

[jira] [Resolved] (SPARK-14802) Disable Passing to Hive the queries that can't be parsed

     [ https://issues.apache.org/jira/browse/SPARK-14802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reynold Xin resolved SPARK-14802.
---------------------------------
       Resolution: Duplicate
         Assignee: Reynold Xin
    Fix Version/s: 2.0.0

> Disable Passing to Hive the queries that can't be parsed
> --------------------------------------------------------
>
>                 Key: SPARK-14802
>                 URL: https://issues.apache.org/jira/browse/SPARK-14802
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>            Assignee: Reynold Xin
>             Fix For: 2.0.0
>
>
> When hitting the query that can't be parsed, we pass it to Hive. Thus, we hit some strange error messages from Hive. We should disable it after we have integrated the SparkSqlParser & HiveSqlParser.
> For example,  
> {code}
> NoViableAltException(302@[192:1: tableName : (db= identifier DOT tab= identifier -> ^( TOK_TABNAME $db $tab) |tab= identifier -> ^( TOK_TABNAME $tab) );])
>     at org.antlr.runtime.DFA.noViableAlt(DFA.java:158)
>     at org.antlr.runtime.DFA.predict(DFA.java:116)
>     at org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableName(HiveParser_FromClauseParser.java:4747)
>     at org.apache.hadoop.hive.ql.parse.HiveParser.tableName(HiveParser.java:45920)
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org