You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Enrico Minack (Jira)" <ji...@apache.org> on 2022/04/11 20:39:00 UTC

[jira] [Updated] (SPARK-38864) Melt function for Dataset API

     [ https://issues.apache.org/jira/browse/SPARK-38864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Enrico Minack updated SPARK-38864:
----------------------------------
    Description: 
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.

  was:
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 re-uses from PySpark.


> 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
>            Priority: Major
>
> 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.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org