Github user felixcheung commented on a diff in the pull request:
https://github.com/apache/spark/pull/19438#discussion_r143347310
--- Diff: R/pkg/tests/fulltests/test_sparkSQL.R ---
@@ -2738,7 +2738,7 @@ test_that("sampleBy() on a DataFrame", {
})
test_that("approxQuantile() on a DataFrame", {
- l <- lapply(c(0:99), function(i) { list(i, 99 - i) })
+ l <- lapply(c(1:100), function(i) { list(i, 101 - i) })
--- End diff --
could you elaborate how this fix the test?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]