HyukjinKwon commented on a change in pull request #23746: [SPARK-26761][SQL][R]
Vectorized R gapply() implementation
URL: https://github.com/apache/spark/pull/23746#discussion_r255298560
##########
File path: R/pkg/tests/fulltests/test_sparkSQL.R
##########
@@ -3529,6 +3529,116 @@ test_that("gapply() and gapplyCollect() on a
DataFrame", {
})
})
+test_that("gapply() Arrow optimization", {
+ skip_if_not_installed("arrow")
+ df <- createDataFrame(mtcars)
+
+ conf <- callJMethod(sparkSession, "conf")
+ arrowEnabled <- sparkR.conf("spark.sql.execution.arrow.enabled")[[1]]
+
+ callJMethod(conf, "set", "spark.sql.execution.arrow.enabled", "false")
Review comment:
I am willing to make a wrapper for this `spark.sql.execution.arrow.enabled`
set/unset but I would like to target this separately later if you guys won't
mind.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]