You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Phabricator (Commented) (JIRA)" <ji...@apache.org> on 2012/04/11 19:07:19 UTC
[jira] [Commented] (HIVE-2942) substr on string containing UTF-8
characters produces StringIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/HIVE-2942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251744#comment-13251744 ]
Phabricator commented on HIVE-2942:
-----------------------------------
kevinwilfong has commented on the revision "HIVE-2942 [jira] substr on string containing UTF-8 characters produces StringIndexOutOfBoundsException".
Verified all the tests still pass.
REVISION DETAIL
https://reviews.facebook.net/D2727
> substr on string containing UTF-8 characters produces StringIndexOutOfBoundsException
> -------------------------------------------------------------------------------------
>
> Key: HIVE-2942
> URL: https://issues.apache.org/jira/browse/HIVE-2942
> Project: Hive
> Issue Type: Bug
> Reporter: Kevin Wilfong
> Assignee: Kevin Wilfong
> Attachments: HIVE-2942.D2727.1.patch
>
>
> After HIVE-2792, the substr function produces a StringIndexOutOfBoundsException when called on a string containing UTF-8 characters without the length argument being present.
> E.g.
> select substr(str, 1) from table1;
> now fails with that exception if str contains a UTF-8 character for any row in the table.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira