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

Non-ASCII character in table name causes impala-shell to disconnect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 1.2.3
    • Impala 1.4
    • 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.

      Attachments

        Activity

          People

            ishaan Ishaan Joshi
            jrussell John Russell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: