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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: Impala 1.0
    • Fix Version/s: None
    • Component/s: Frontend
    • Labels:

      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

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

              Dates

              • Created:
                Updated: