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

explode() fails on aggregate expressions

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: SQL
    • Labels:
      None

      Description

      function explode() fails on aggregate expressions

      We should support sql like:

      spark.range(5).select( 
        explode(array(max($"id"), min($"id")))
      )
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                weichenxu123 Weichen Xu
                Reporter:
                weichenxu123 Weichen Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: