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

Fix ambiguity in grammar warnings at compilation time (II)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0, 3.2.0
    • Component/s: Parser
    • Labels:
      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

              • Assignee:
                abstractdog László Bodor
                Reporter:
                jcamachorodriguez Jesus Camacho Rodriguez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: