Github user falaki commented on a diff in the pull request:
https://github.com/apache/spark/pull/19551#discussion_r146160321
--- Diff: R/pkg/tests/fulltests/test_sparkSQL.R ---
@@ -499,6 +499,12 @@ test_that("create DataFrame with different data
types", {
expect_equal(collect(df), data.frame(l, stringsAsFactors = FALSE))
})
+test_that("SPARK-17902: collect() with stringsAsFactors enabled", {
--- End diff --
Would you please verify that factor orders are identical. I wonder if
`expect_equal` really verifies order of values in a factor.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]