Github user sun-rui commented on the pull request: https://github.com/apache/spark/pull/12836#issuecomment-221179691 @thunterdb, @NarineK, definitely we can add API like aggregate() later based on the functionalities of two basic API. I can submit a JIRA issue for it later. We can allow passing a user defined function as FUN. We could support FUN as builit-in functions ('mean', 'sum', etc...) by internally created an R function wrapping it, but it seems not worth, As SparkDataFrame can provide such common aggregation functions, which run on JVM, having better performance than R worker. However, if any built-in functions in R has no parity in Spark Core, we can consider support it in SparkR.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org