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

Hudson commented on HIVE-2942:
------------------------------

Integrated in Hive-trunk-hadoop2 #54 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
    HIVE-2942. substr on string containing UTF-8 characters produces 
StringIndexOutOfBoundsException (Kevin Wilfong via pauly) (Revision 1326444)

     Result = ABORTED
pauly : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326444
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/UDFSubstr.java
* /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java
* /hive/trunk/ql/src/test/queries/clientpositive/udf_substr.q
* /hive/trunk/ql/src/test/results/clientpositive/udf_substr.q.out

                
> 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
>             Fix For: 0.10.0
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to