Github user liufengdb commented on a diff in the pull request:
https://github.com/apache/spark/pull/20681#discussion_r171770982
--- Diff: R/pkg/tests/fulltests/test_sparkSQL.R ---
@@ -67,6 +67,8 @@ sparkSession <- if (windows_with_hadoop()) {
sparkR.session(master = sparkRTestMaster, enableHiveSupport = FALSE)
}
sc <- callJStatic("org.apache.spark.sql.api.r.SQLUtils",
"getJavaSparkContext", sparkSession)
+# materialize the catalog implementation
+listTables()
--- End diff --
`test_sparkSQL.R` is the only one uses
`newJObject("org.apache.spark.sql.hive.test.TestHiveContext", ssc, FALSE)` on
the `ssc`, so the catalog impl spark conf is changed. So ``test_sparkSQL.R` is
the only one broken.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]