Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 1.2.3
-
None
-
None
Description
Using an accented character in a table name for a CREATE TABLE statement causes an unexpected error + disconnect in impala-shell:
[localhost:21000] > create table resumé (x int);
Unknown Exception : 'ascii' codec can't encode character u'\xe9' in position 18: ordinal not in range(128)
[Not connected] > create table resume (s string);
Not connected (use CONNECT to establish a connection)
Likely a shell bug rather than something in the parser itself.
I like the fact that it actually tells you the character code, but the error should be handled cleanly by the shell rather than "unknown exception". Plus it shouldn't disconnect the session.