Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6167

Single quotes inside double quotes drop data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • Impala 2.10.0
    • None
    • Frontend
    • None
    • ghx-label-5

    Description

      > create table IMPALA_6167 (f String);
      > insert into IMPALA_6167 values ("a'b'c");
      > insert into IMPALA_6167 values ('a\'b\'c');
      > insert into IMPALA_6167 values ("a\'b\'c");
      > select f, length(f) from IMPALA_6167;
      +-------+-----------+
      | f     | length(f) |
      +-------+-----------+
      | ac    | 2         |
      | a'b'c | 5         |
      | a'b'c | 5         |
      +-------+-----------+
      

      I expected the string "a'b'c" to have length 5, with two single-quote characters in it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zzjj yyzzjj
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: