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, it should be implemented in Scala and invoked from PySpark.
Attachments
Issue Links
- fixes
-
SPARK-39292 Make Dataset.melt work with struct fields
- Resolved
- is duplicated by
-
SPARK-39669 Support unpivot function
- Resolved
- links to
(1 links to)