Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-13277

ANTLR ignores other rule using the USING keyword

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • SQL
    • None

    Description

      ANTLR currently emits the following warning during compilation:

      warning(200): org/apache/spark/sql/catalyst/parser/SparkSqlParser.g:938:7: 
      Decision can match input such as "KW_USING Identifier" using multiple alternatives: 2, 3
      
      As a result, alternative(s) 3 were disabled for that input
      

      This means that some of the functionality of the parser is disabled. This is introduced by the migration of the DDLParsers (https://github.com/apache/spark/pull/10723). We should be able to fix this by introducing a syntactic predicate for USING.

      cc viirya

      Attachments

        Activity

          People

            viirya L. C. Hsieh
            hvanhovell Herman van Hövell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: