EnricoMi opened a new pull request, #38020: URL: https://github.com/apache/spark/pull/38020
### What changes were proposed in this pull request? As discussed in https://github.com/apache/spark/pull/37407#discussion_r977818035, method `pyspark.sql.DataFrame.unpivot` should support only column names for `ids` and `values` arguments, to mirror PySpark `GroupedData.pivot`. ### Why are the changes needed? Simplify and align API with existing PySpark SQL methods. ### Does this PR introduce _any_ user-facing change? Yes, modifies signature of `pyspark.sql.DataFrame.unpivot`, which has not been released yet. ### How was this patch tested? Tests `unpivot` with non-string arguments. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
