Hello Quanlong Huang, Joe McDonnell, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/20624

to look at the new patch set (#2).

Change subject: IMPALA-12517: Decode binary data with Python 3
......................................................................

IMPALA-12517: Decode binary data with Python 3

When impala-shell receives binary data with the HS2 protocol, it uses a
stringifier to decode it. In Python 3, 'str' on binary data wraps it in
"b'...'"; to get equivalent output to 'str' in Python 2, we need to
decode as UTF-8 and handle errors.

Adds a test case for how impala-shell formats binary data.

Change-Id: I9222cd1ac081a38ab2b37d58628faac0812695ec
---
M shell/value_converter.py
M tests/shell/test_shell_commandline.py
2 files changed, 18 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/24/20624/2
--
To view, visit http://gerrit.cloudera.org:8080/20624
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9222cd1ac081a38ab2b37d58628faac0812695ec
Gerrit-Change-Number: 20624
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Smith <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>

Reply via email to