You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2021/01/12 04:03:00 UTC
[jira] [Updated] (HIVE-24620) Reverse not dealing with unicode
grapheme clusters correctly
[ 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)