Skip to content

Support sort_array builtin function #3953

@comphead

Description

@comphead

What is the problem the feature request solves?

DataFusion support array_sort and would be nice to support it Comet

Spark support sort_array function https://spark.apache.org/docs/latest/api/sql/#sort_array and we can DF array_sort can be used to cover it.

Dont be confused with another function Spark array_sort https://spark.apache.org/docs/latest/api/sql/#array_sort is lambda based function where user provides custom comparator. This would depend on apache/datafusion#18921 WIP

Describe the potential solution

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions