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

impala-shell breaks on non-ascii characters in the resultset

    XMLWordPrintableJSON

Details

    Description

      (Shell build version: Impala Shell v2.2.0-cdh5.4.7 (8b8d376) built on Thu Sep 17 02:00:38 PDT 2015)
      [host:21000] > insert into sometable values ('Árvíztűrő tükörfúrógép');
      Query: insert into sometable values ('Árvíztűrő tükörfúrógép')
      Inserted 1 row(s) in 6.84s
      [host:21000] > select * from sometable;
      Query: select * from sometable
      Unknown Exception : 'ascii' codec can't encode character u'\xc1' in position 83: ordinal not in range(128)
      [Not connected] >

      This is very similar to IMPALA-1130, IMPALA-489, IMPALA-738, the difference is that here the resultset contains the offending char.
      With the -B option the result is printed correctly.

      Attachments

        1. IMPALA-2717.patch
          2 kB
          Marcell Szabo

        Activity

          People

            tarmstrong Tim Armstrong
            szama_impala_6295 Marcell Szabo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: