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

Magnus Mogren commented on CALCITE-5078:
----------------------------------------

Ok. I tried the SQL on both PostgreSQL, DB2 and SQL Server and they all 
returned 'a' before 'B' but never reflected on collation. They all use some 
Swedish collation.

> 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