Csaba Ringhofer has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19893


Change subject: IMPALA-12145: Fix profiles with non-ascii character in 
impala-shell (python2)
......................................................................

IMPALA-12145: Fix profiles with non-ascii character in impala-shell (python2)

As __future__.unicode_literals is imported in impala-shell
concatenating an str with a literal leads to decoding the
string with 'ascii' codec which fails if there are non-ascii
characters. Converting the literal to str solves the issue.

Testing:
- added regression test + ran related EE tests

Change-Id: I99b72dd262fc7c382e8baee1dce7592880c84de2
---
M shell/impala_shell.py
M tests/shell/test_shell_commandline.py
2 files changed, 13 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/93/19893/1
--
To view, visit http://gerrit.cloudera.org:8080/19893
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I99b72dd262fc7c382e8baee1dce7592880c84de2
Gerrit-Change-Number: 19893
Gerrit-PatchSet: 1
Gerrit-Owner: Csaba Ringhofer <[email protected]>

Reply via email to