You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "zhenlineo (via GitHub)" <gi...@apache.org> on 2023/06/14 15:16:48 UTC

[GitHub] [spark] zhenlineo opened a new pull request, #41596: [SPARK-43415][Connect] Alternative mapValues for KeyValueGroupedDS#agg using withContext

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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [spark] zhenlineo closed pull request #41596: [SPARK-43415][Connect] Alternative mapValues for KeyValueGroupedDS#agg using withContext

Posted by "zhenlineo (via GitHub)" <gi...@apache.org>.
zhenlineo closed pull request #41596: [SPARK-43415][Connect] Alternative mapValues for KeyValueGroupedDS#agg using withContext
URL: https://github.com/apache/spark/pull/41596


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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