zhenlineo opened a new pull request, #41596: URL: https://github.com/apache/spark/pull/41596
### What changes were proposed in this pull request? The `KVGDS#agg` and `reduceGroups` was not able to chain mapValues functions directly with columns. This PR add the a new unresolved func `withContext` to carry the mapValues func from the client to the server. The `withContext` can also be used to provide the missing encoders for KVGDS created via RelationalGroupedDS#as. Reverted the changes to `RelationalGroupedDataset` to use expression instead of columns. Refactored the code in `SparkConnectPlanner` to always create `TypedUdf` via `ScalaUDF`. ### Why are the changes needed? Missing functionality for the KVGDS. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? E2E -- 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]
