You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/02/19 01:44:07 UTC

[GitHub] felixcheung commented on a change in pull request #23810: [SPARK-26901][SQL][R] Adds child's output into references to avoid column-pruning for vectorized gapply()

felixcheung commented on a change in pull request #23810: [SPARK-26901][SQL][R] Adds child's output into references to avoid column-pruning for vectorized gapply()
URL: https://github.com/apache/spark/pull/23810#discussion_r257865929
 
 

 ##########
 File path: R/pkg/tests/fulltests/test_sparkSQL.R
 ##########
 @@ -3564,11 +3564,14 @@ test_that("gapply() Arrow optimization", {
                      stopifnot(is.numeric(key[[1]]))
                    }
                    stopifnot(class(grouped) == "data.frame")
+                   # mtcars' hp is more then 50.
+                   stopifnot(all(grouped$hp > 50))
 
 Review comment:
   should the test check for # of columns?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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