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

Problems handling escaped quotes within strings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • hpl/sql
    • None

    Description

      It seems that hpl/sql is not properly handling escaped quotes when it happens exactly at the string end. In example below, first command produces correct result, while second command produces invalid result:

      PRINT ''' ';
      PRINT '''';

      Attachments

        1. HIVE-14862.1.patch
          3 kB
          Dmitry Tolpeko

        Activity

          People

            dmtolpeko Dmitry Tolpeko
            maximg Maxim Glukhov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: