Skip to content

Conversation

chenkovsky
Copy link
Contributor

@chenkovsky chenkovsky commented Oct 6, 2025

Which issue does this PR close?

Rationale for this change

currently pivot and unpivot are not supported.

https://spark.apache.org/docs/latest/sql-ref-syntax-qry-select-pivot.html
https://spark.apache.org/docs/latest/sql-ref-syntax-qry-select-unpivot.html

What changes are included in this PR?

support pivot and unpivot.

Are these changes tested?

UT

Are there any user-facing changes?

No

@github-actions github-actions bot added sql SQL Planner logical-expr Logical plan and expressions core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) labels Oct 6, 2025
@alamb alamb changed the title feat: support pivot and unpivot feat: support pivot and unpivot in DataFrame API Oct 7, 2025
@alamb alamb changed the title feat: support pivot and unpivot in DataFrame API feat: support pivot and unpivot Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate logical-expr Logical plan and expressions sql SQL Planner sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add pivot & unpivot (melt) to DataFrame
1 participant