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

Timo Walther commented on FLINK-4262:
-------------------------------------

I think this issue is bit tricky as the position of {{null}} values is 
determined by the {{RowComparator}}. So multiple layers have to be touched for 
this change.

> Consider null handling during sorting
> -------------------------------------
>
>                 Key: FLINK-4262
>                 URL: https://issues.apache.org/jira/browse/FLINK-4262
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>            Reporter: Timo Walther
>            Priority: Minor
>
> Calcite's SQL parser allows to specify how to handle NULLs during sorting.
> {code}
> orderItem:
>       expression [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ]
> {code}
> Currently, the NULL FIRST/NULLS LAST is completely ignored but might be 
> helpful.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to