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

Leading Unicode comments cause Impala Shell failure.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 3.1.0
    • Impala 3.3.0
    • None
    • None
    • ghx-label-6

    Description

      This is a regression introduced by IMPALA-2195 Improper handling of comments in queries.

      Running a query in impala-shell with a leading comment containing Unicode, will cause failures:

      [localhost:21000] default> --한글
      > select a from tab1;
      Query: --한글
      select a from tab1
      Query submitted at: 2019-03-19 16:37:00 (Coordinator: http://asherman-desktop:25000)
      Unknown Exception : 'ascii' codec can't encode characters in position 2-3: ordinal not in range(128)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            asherman Andrew Sherman
            asherman Andrew Sherman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment