Ian Cook created ARROW-12063: -------------------------------- Summary: [C++] Add nulls position option to sort functions Key: ARROW-12063 URL: https://issues.apache.org/jira/browse/ARROW-12063 Project: Apache Arrow Issue Type: Improvement Components: C++ Affects Versions: 3.0.0 Reporter: Ian Cook
Currently in the [sort functions|https://arrow.apache.org/docs/cpp/compute.html#sorts-and-partitions], nulls are considered greater than any other value and are sorted at the the end of the array. Add an option to enable users to sort nulls at the beginning if they wish. This option is common in analytic data systems, e.g. SQL {{NULLS FIRST}} and {{NULLS LAST}}, pandas {{na_position}}, R {{na.last}}. -- This message was sent by Atlassian Jira (v8.3.4#803005)