Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-14825 Merge functionality in Hive module into SQL core module
  3. SPARK-14802

Disable Passing to Hive the queries that can't be parsed

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.0
    • 2.0.0
    • SQL
    • None

    Description

      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,

      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)
      

      Attachments

        Issue Links

          Activity

            People

              rxin Reynold Xin
              smilegator Xiao Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: