You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2022/08/21 09:22:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Hyukjin Kwon resolved SPARK-39925.
----------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 37361
[https://github.com/apache/spark/pull/37361]

> 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
>            Assignee: Brandon Dahler
>            Priority: Minor
>             Fix For: 3.4.0
>
>
> 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