Github user NarineK commented on a diff in the pull request:
https://github.com/apache/spark/pull/12989#discussion_r62716138
--- Diff: R/pkg/inst/tests/testthat/test_sparkSQL.R ---
@@ -2070,6 +2072,16 @@ test_that("dapply() on a DataFrame", {
rownames(expected) <- NULL
expect_identical(expected, result)
+ result <- dapplyCollect(
+ df,
+ function(x) {
+ y <- x[x$a > 1, ]
+ y <- cbind(y, y$a + 1L)
--- End diff --
I see. In our previous product we could do that. Pass other parameters.
I'll take a look and might have some suggestions.
But I think this is not specifically related to this pull request.
LGTM!
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]