Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/8602#discussion_r38781768
--- Diff: sql/core/src/test/scala/org/apache/spark/sql/SQLConfSuite.scala
---
@@ -73,8 +77,10 @@ class SQLConfSuite extends QueryTest with
SharedSQLContext {
test("deprecated property") {
ctx.conf.clear()
+ val original = ctx.conf.numShufflePartitions
sql(s"set ${SQLConf.Deprecated.MAPRED_REDUCE_TASKS}=10")
assert(ctx.conf.numShufflePartitions === 10)
--- End diff --
also, should we assert that `original` is not already equal to 10?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]