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

hongyu guo commented on CALCITE-6213:
-------------------------------------

Fixed in 
[aca7f02d|https://github.com/apache/calcite/commit/aca7f02dfd510297bd56b07ab94d41033a5146b4].
 
[~eveywu] Very nice work, thanks for your contribution!

> The default behavior of NullCollation in Presto is LAST
> -------------------------------------------------------
>
>                 Key: CALCITE-6213
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6213
>             Project: Calcite
>          Issue Type: Bug
>            Reporter:  EveyWu
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2024-01-19-23-54-26-383.png, 
> image-2024-01-19-23-57-00-252.png
>
>
> [https://prestodb.io/docs/0.285/sql/select.html]
> Presto default null ordering is NULLS LAST
> !image-2024-01-19-23-54-26-383.png|width=511,height=168!
>  
> Demo:select by presto with nulls last 
> {code:java}
> select * from product order by brand_name; {code}
> !image-2024-01-19-23-57-00-252.png|width=517,height=83!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to