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'

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Lleohao Hao Zhou Assign to me
            Lleohao Hao Zhou

            Dates

              Created:
              Updated:

              Slack

                Issue deployment