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

[jira] [Commented] (SPARK-39876) Unpivot / melt function for SQL

    [ https://issues.apache.org/jira/browse/SPARK-39876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17575311#comment-17575311 ] 

Apache Spark commented on SPARK-39876:
--------------------------------------

User 'EnricoMi' has created a pull request for this issue:
https://github.com/apache/spark/pull/37407

> Unpivot / melt function for SQL
> -------------------------------
>
>                 Key: SPARK-39876
>                 URL: https://issues.apache.org/jira/browse/SPARK-39876
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Enrico Minack
>            Priority: Major
>
> With SPARK-38864 the Dataset API now has an unpivot / melt function. This should also be accessible through SQL statements, similar syntax as in [BigQuery|https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#unpivot_operator], [T-SQL|https://docs.microsoft.com/en-us/sql/t-sql/queries/from-using-pivot-and-unpivot?view=sql-server-ver15#unpivot-example], [Oracle|https://www.oracletutorial.com/oracle-basics/oracle-unpivot/].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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