We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7b565b commit 42910c2Copy full SHA for 42910c2
sql/core/src/test/scala/org/apache/spark/sql/ExpressionsSchemaSuite.scala
@@ -136,7 +136,7 @@ class ExpressionsSchemaSuite extends QueryTest with SharedSparkSession {
136
// Note: We need to filter out the commands that set the parameters, such as:
137
// SET spark.sql.parser.escapedStringLiterals=true
138
example.split(" > ").tail
139
- .filterNot(_.trim.startsWith("SET")).take(2).toList.foreach(_ match {
+ .filterNot(_.trim.startsWith("SET")).take(1).foreach(_ match {
140
case exampleRe(sql, expected) =>
141
val df = spark.sql(sql)
142
val schema = df.schema.catalogString
0 commit comments