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

fix syntax in Hplsql.g4

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • CLI
    • None

    Description

      According to https://github.com/antlr/antlr4/issues/118, incorrect error message might return if the start rule does not contain an explicit EOF transition. It is better to add EOF for the first rule in grammar.

      Attachments

        1. HIVE-16595.1.patch
          0.5 kB
          Yishuang Lu
        2. HIVE-16595.2.patch
          0.6 kB
          Yishuang Lu
        3. HIVE-16595.3.patch
          0.5 kB
          Yishuang Lu

        Issue Links

          Activity

            People

              lys0716 Yishuang Lu
              lys0716 Yishuang Lu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: