Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/21011#discussion_r180311581
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/DataFrameFunctionsSuite.scala ---
@@ -413,6 +413,29 @@ class DataFrameFunctionsSuite extends QueryTest with
SharedSQLContext {
)
}
+ test("array_join function") {
+ val df = Seq(
+ (Seq[String]("a", "b"), ","),
+ (Seq[String]("a", null, "b"), ","),
+ (Seq[String](), ",")
--- End diff --
Maybe `Seq.empty[String]`
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]