You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Brandon Dahler (Jira)" <ji...@apache.org> on 2022/07/29 16:12:00 UTC
[jira] [Commented] (SPARK-39925) Add array_sort(column, comparator) overload to DataFrame operations
[ https://issues.apache.org/jira/browse/SPARK-39925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17573046#comment-17573046 ]
Brandon Dahler commented on SPARK-39925:
----------------------------------------
I'm working on a PR for this issue
> Add array_sort(column, comparator) overload to DataFrame operations
> -------------------------------------------------------------------
>
> Key: SPARK-39925
> URL: https://issues.apache.org/jira/browse/SPARK-39925
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.3.0
> Reporter: Brandon Dahler
> Priority: Minor
>
> The ability to use {{array_sort with a comparator was added in SPARK-29020; however, the new signature wasn't made available to the DataFrame operations API.}}
>
> Proposed new signature:
> {code:java}
> package org.apache.spark.sql
> object functions {
> ...
> def array_sort(e: Column, comparator: (Column, Column) => Column): Column
> ...
> } {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org