[
https://issues.apache.org/jira/browse/IGNITE-23347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17890454#comment-17890454
]
Konstantin Orlov commented on IGNITE-23347:
-------------------------------------------
[~xtern], [~zstan], folks, do a review please
> Comparison of strings works wrong
> ---------------------------------
>
> Key: IGNITE-23347
> URL: https://issues.apache.org/jira/browse/IGNITE-23347
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 3.0.0-beta1
> Reporter: Igor
> Assignee: Konstantin Orlov
> Priority: Critical
> Labels: ignite-3
> Fix For: 3.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {code:java}
> Query: "select '12345 ' > '12345' as result;"
> Expected:
> (true)
> Actual:
> (false)
> Query: "select 'a' < 'a ' as result;"
> Expected:
> (true)
> Actual:
> (false)
> Query: "select 'a' >= 'a ' as result;"
> Expected:
> (false)
> Actual:
> (true)
> Query: "select '12345 ' <= '12345' as result;"
> Expected:
> (false)
> Actual:
> (true) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)