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

Support bracketed comments

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • None

    Description

      C-style comments are in the SQL spec as well as supported by all major DBs. The are useful for inline annotation of the SQL. We should have them too.

      Example:

      select
      /*+ MAPJOIN(a) */ /* mapjoin hint */
      a /* column */
      from foo join bar;
      

      Attachments

        1. HIVE-15765.1.patch
          22 kB
          Gunther Hagleitner
        2. HIVE-15765.1.patch
          22 kB
          Gunther Hagleitner
        3. HIVE-15765.2.patch
          96 kB
          Gunther Hagleitner
        4. HIVE-15765.3.patch
          98 kB
          Gunther Hagleitner

        Activity

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

          People

            hagleitn Gunther Hagleitner Assign to me
            hagleitn Gunther Hagleitner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment