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

HIVE-14751 introduced ambiguity in grammar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • Parser
    • None

    Description

      As reported by ekoifman and tested by myself, your patch introduced ambiguity into the grammar.

      warning(200): IdentifiersParser.g:327:5:
      Decision can match input such as "KW_DAY KW_TO KW_SECOND" using multiple alternatives: 2, 5
      
      As a result, alternative(s) 5 were disabled for that input
      warning(200): IdentifiersParser.g:327:5:
      Decision can match input such as "KW_YEAR KW_TO KW_MONTH" using multiple alternatives: 1, 3
      
      As a result, alternative(s) 3 were disabled for that input
      

      Could you please take another look? Thanks.

      Attachments

        1. HIVE-14843.01.patch
          0.8 kB
          jcamachorodriguez

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              pxiong Pengcheng Xiong
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: