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

Impala and Hive's unescaping of octal escape sequences is flawed.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • Impala 1.0
    • None
    • Frontend

    Description

      Impala reuses Hive's code to do deal with escape sequences, so both Hive and Impala are affected.

      Octal values > 127 fail to unescape properly. This may lead to problems if, e.g., a user has text data with exotic single-byte delimiters (UTF-8 single byte or ASCII extended).

      For example,

      select "\127" returns "W
      but
      select "\128" returns "128"

      Attachments

        Activity

          People

            Unassigned Unassigned
            alex.behm Alexander Behm
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: