[ https://issues.apache.org/jira/browse/SPARK-38864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17610029#comment-17610029 ]
Apache Spark commented on SPARK-38864: -------------------------------------- User 'EnricoMi' has created a pull request for this issue: https://github.com/apache/spark/pull/38019 > Unpivot / melt function for Dataset API > --------------------------------------- > > Key: SPARK-38864 > URL: https://issues.apache.org/jira/browse/SPARK-38864 > Project: Spark > Issue Type: New Feature > Components: SQL > Affects Versions: 3.4.0 > Reporter: Enrico Minack > Assignee: Enrico Minack > Priority: Major > Fix For: 3.4.0 > > > As pointed out in SPARK-30273 and SPARK-37799, the Dataset API provides the > {{pivot}} method but not its reverse operation {{melt}}. It is only provided > as part of the PySpark Pandas API, implemented in Python. However, {{melt}} > is not available via the PySpark DataFrame API, nor through Spark Scala > Dataset API. > As mentioned in > [#26912|https://github.com/apache/spark/pull/26912#pullrequestreview-332975715], > it should be implemented in Scala and invoked from PySpark. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org