spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun-rui <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-15202][SPARKR] add dapplyCollect() meth...
Date Tue, 10 May 2016 01:49:50 GMT
Github user sun-rui commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12989#discussion_r62601918
  
    --- 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 --
    
    @NarineK, not sure if I understand. the user input R function should return data.frame.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message