[ 
https://issues.apache.org/jira/browse/HIVE-24620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Quanlong Huang updated HIVE-24620:
----------------------------------
    Description: 
Reverse() deal with unicode code points instead of grapheme clusters:
{code:java}
hive> select 'abc\u0303def', reverse('abc\u0303def');
abc̃def fed̃cba

hive> select 'abc̃def', reverse('abc̃def');
abc̃def fed̃cba{code}
Note that "~" should on top of "c" in the result.

  was:
Reverse() deal with unicode code points instead of grapheme clusters:
{code:java}
hive> select 'abc\u0303def', reverse('abc\u0303def');
OK
abc̃def fed̃cba{code}
Note that "~" should on top of "c" in the result.


> Reverse not dealing with unicode grapheme clusters correctly
> ------------------------------------------------------------
>
>                 Key: HIVE-24620
>                 URL: https://issues.apache.org/jira/browse/HIVE-24620
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Quanlong Huang
>            Priority: Major
>
> Reverse() deal with unicode code points instead of grapheme clusters:
> {code:java}
> hive> select 'abc\u0303def', reverse('abc\u0303def');
> abc̃def fed̃cba
> hive> select 'abc̃def', reverse('abc̃def');
> abc̃def fed̃cba{code}
> Note that "~" should on top of "c" in the result.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to