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

Hplsql.g4 - 'from_clause' parses the keyword `JOIN` into 'from_alias_clause' in 'from_table_clause' when parsing 'from_join_clause'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.1.0
    • None
    • CLI

    Description

      'from_clause' parses the keyword `JOIN` into 'from_alias_clause' in 'from_table_clause' when parsing 'from_join_clause'.

       

      example:

      Parse sql SELECT `k1, v1, k2, v2 FROM a JOIN b ON k1 = k2;`.

      Now grammar will parse `JOIN` as a `from_alias_clause`, but it should be
      a `from_join_clause`;

       

       

      Attachments

        Issue Links

          Activity

            People

              Lleohao Hao Zhou
              Lleohao Hao Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: