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

Problems handling escaped quotes within strings

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: hpl/sql
    • Labels:
      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

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

              Dates

              • Created:
                Updated: