You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2019/09/16 22:34:00 UTC

[jira] [Commented] (IMPALA-416) Impala and Hive's unescaping of octal escape sequences is flawed.

    [ https://issues.apache.org/jira/browse/IMPALA-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930917#comment-16930917 ] 

Tim Armstrong commented on IMPALA-416:
--------------------------------------

Confirmed this is still a bug

> Impala and Hive's unescaping of octal escape sequences is flawed.
> -----------------------------------------------------------------
>
>                 Key: IMPALA-416
>                 URL: https://issues.apache.org/jira/browse/IMPALA-416
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 1.0
>            Reporter: Alexander Behm
>            Priority: Minor
>
> 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"



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org