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

Benchao Li commented on CALCITE-5078:
-------------------------------------

[~mamo] the ascii code of 'B' is smaller that 'a', hence the result is correct. 
What's your expected result?

> ORDER BY gets confused by upper/lower case
> ------------------------------------------
>
>                 Key: CALCITE-5078
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5078
>             Project: Calcite
>          Issue Type: Bug
>    Affects Versions: 1.30.0
>            Reporter: Magnus Mogren
>            Priority: Major
>
> This SQL returnes the values in the wrong order:
> {{SELECT * FROM (VALUES ('a'), ('B')) AS tbl(col1) order by col1 asc}}
> "B" is returned before "a".
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to