Jason Fehr has posted comments on this change. ( http://gerrit.cloudera.org:8080/19893 )
Change subject: IMPALA-12145: Fix profiles with non-ascii character in impala-shell (python2) ...................................................................... Patch Set 1: (1 comment) http://gerrit.cloudera.org:8080/#/c/19893/1/shell/impala_shell.py File shell/impala_shell.py: http://gerrit.cloudera.org:8080/#/c/19893/1/shell/impala_shell.py@1144 PS1, Line 1144: query_profile_prefix = query_profile_prefix.encode('utf-8') > Maybe this only impacts GetRuntimeProfile. At the least I think we also nee Tests in the test_shell_commandline.py file (specifically 'test_international_characters', 'test_international_characters_prettyprint', and 'test_international_characters_prettyprint_tabs') assert that using Russian UTF-8 characters in a select query succeeds. I agree that line 1148 needs to be UTF-8 encoded as well since it's a string literal. -- 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: comment Gerrit-Change-Id: I99b72dd262fc7c382e8baee1dce7592880c84de2 Gerrit-Change-Number: 19893 Gerrit-PatchSet: 1 Gerrit-Owner: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Comment-Date: Tue, 16 May 2023 17:57:12 +0000 Gerrit-HasComments: Yes
