Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-39925

Add array_sort(column, comparator) overload to DataFrame operations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.4.0
    • SQL
    • None

    Description

      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:

      package org.apache.spark.sql
      
      object functions {
        ...
      
        def array_sort(e: Column, comparator: (Column, Column) => Column): Column
      
        ...
      } 

       

      Attachments

        Activity

          People

            brandon.dahler.amazon Brandon Dahler
            brandon.dahler.amazon Brandon Dahler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: