Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/20214#discussion_r161255253
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/DataFrameSuite.scala
---
@@ -1255,6 +1255,34 @@ class DataFrameSuite extends QueryTest with
SharedSQLContext {
assert(testData.select($"*").showString(1, vertical = true) ===
expectedAnswer)
}
+ test("SPARK-23023 Cast rows to strings in showString") {
+ val df1 = Seq(Seq(1, 2, 3, 4)).toDF("a")
+ assert(df1.showString(10) ===
--- End diff --
Do you know why it shows `WrappedArray` before?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]