Xiao Li created SPARK-14802:
-------------------------------
Summary: 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: [email protected]
For additional commands, e-mail: [email protected]