Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21293

Fix ambiguity in grammar warnings at compilation time (II)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 3.2.0, 4.0.0-alpha-1
    • Parser
    • None

    Description

      These are the warnings at compilation time:

      warning(200): IdentifiersParser.g:424:5:
      Decision can match input such as "KW_UNKNOWN" using multiple alternatives: 1, 10
      
      As a result, alternative(s) 10 were disabled for that input
      

      This means that multiple parser rules can match certain query text, possibly leading to unexpected errors at parsing time.

      Attachments

        1. HIVE-21293.01.patch
          38 kB
          László Bodor
        2. HIVE-21293.02.patch
          37 kB
          László Bodor

        Issue Links

          Activity

            People

              abstractdog László Bodor
              jcamacho Jesús Camacho Rodríguez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: