Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/22162#discussion_r216119703
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/DatasetSuite.scala
---
@@ -969,6 +969,20 @@ class DatasetSuite extends QueryTest with
SharedSQLContext {
checkShowString(ds, expected)
}
+ test("SPARK-24442 Show should follow spark.show.default.number.of.rows")
{
+ withSQLConf("spark.sql.show.defaultNumRows" -> "100") {
--- End diff --
`SQLConf.SQL_SHOW_DEFAULT_MAX_ROWS.key -> "100"`
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]