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

Support bracketed 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

          People

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

            Dates

              Created:
              Updated:
              Resolved: