cloud-fan commented on a change in pull request #25243:
[SPARK-28498][SQL][TEST] always create a fresh copy of the SparkSession before
each test
URL: https://github.com/apache/spark/pull/25243#discussion_r307271165
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/DataFrameSuite.scala
##########
@@ -2109,12 +2090,10 @@ class DataFrameSuite extends QueryTest with
SharedSQLContext {
}
test("SPARK-25714 Null handling in BooleanSimplification") {
- withSQLConf(SQLConf.OPTIMIZER_EXCLUDED_RULES.key ->
ConvertToLocalRelation.ruleName) {
- val df = Seq(("abc", 1), (null, 3)).toDF("col1", "col2")
Review comment:
yea, this is the default. See `SharedSparkSession#L48`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]