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

Aleksey Plekhanov commented on IGNITE-14545:
--------------------------------------------

{quote}it's not true. We need to override only those functions sensible to the 
size of the character, like length, substring, strpos
{quote}
All mentioned above functions are sensitive to the size of the character.

Currently, with H2 (which uses {{v.getString().length()}}) we have the same 
issue, so I think it's ok to have default Calcite implemented string function 
and provide some new functions in the future to deal with 32-bit characters (by 
separate low-priority ticket).  

> Calcite engine. Unicode literal not supported
> ---------------------------------------------
>
>                 Key: IGNITE-14545
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14545
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Taras Ledkov
>            Assignee: Aleksey Plekhanov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Unicode literal not supported.
>  e.g. {{SELECT <any_string_with_unicode_symbols>}}
> Tests:
>  {{aggregate/aggregates/test_aggr_string.test}}
> {{types/string/test_unicode.test_ignored}}
>  



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

Reply via email to