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

Remove the comments from the query

    XMLWordPrintableJSON

Details

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

    Description

      The ability to delete a comment in CliDriver was created in the next ticket:
      HIVE-1926, HIVE-1953
      However, the following query will result in an error:

      -- set abc=def;
      select -- comments;
        -- comments;
        replace('12345', '12', '--') -- comments;
      from
        www_access
      limit 1;
      

      It was to remove all of the comments in order to cope with this.

      Attachments

        1. HIVE-14481.1.patch
          4 kB
          Ryu Kobayashi

        Activity

          People

            ryu_kobayashi Ryu Kobayashi
            ryu_kobayashi Ryu Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: