[jira] [Created] (FLINK-4262) Consider null handling during sorting

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-4262) Consider null handling during sorting

Shang Yuanchun (Jira)
Timo Walther created FLINK-4262:
-----------------------------------

             Summary: 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)