You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/04/26 09:36:13 UTC

[jira] [Assigned] (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 ]

Apache Spark reassigned SPARK-14802:
------------------------------------

    Assignee:     (was: Apache Spark)

> 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
>
> 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