Open izveigor opened 1 year ago
I'm not sure we typically provide these sorts of grouping/aggregation functions in arrow-rs? How is it you intend to integrate such a function with the grouping machinery in DataFusion?
Hello, @tustvold! I created the ticket as I found the similar syntax in other versions of Apache Arrow. If you consider this function is redundant it is better to implement the functionality in Arrow Datafusion and close the ticket.
What do you think of implementing this in DataFusion first, and we can then assess whether we upstream a version of it?
Is your feature request related to a problem or challenge? Please describe what you are trying to do. Part of https://github.com/apache/arrow-datafusion/issues/7289
Describe the solution you'd like
unique
function removes duplicate values (include NULLs) fromArray
. Does preserve the original order.Example (PyArrow):
with nulls:
Describe alternatives you've considered
Additional context Documentation: https://arrow.apache.org/docs/cpp/compute.html