Skip to content

Commit 5915a12

Browse files
committed
change code style
Change-Id: I0b55a61e1a9ac3555177322ac44d2b216d45bd24
1 parent 56a1101 commit 5915a12

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sql/core/src/test/scala/org/apache/spark/sql/execution/PlannerSuite.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,8 @@ class PlannerSuite extends SharedSparkSession {
435435
val outputPlan = EnsureRequirements(spark.sessionState.conf).apply(inputPlan)
436436
assert(outputPlan.find {
437437
case ShuffleExchangeExec(_: RoundRobinPartitioning, _, _) => true
438-
case _ => false}.isEmpty,
438+
case _ => false
439+
}.isEmpty,
439440
"RoundRobinPartitioning should be changed to RangePartitioning")
440441
}
441442

@@ -453,7 +454,8 @@ class PlannerSuite extends SharedSparkSession {
453454
val outputPlan = EnsureRequirements(spark.sessionState.conf).apply(inputPlan)
454455
assert(outputPlan.find {
455456
case ShuffleExchangeExec(_: HashPartitioning, _, _) => true
456-
case _ => false}.isEmpty,
457+
case _ => false
458+
}.isEmpty,
457459
"HashPartitioning should be changed to RangePartitioning")
458460
}
459461

0 commit comments

Comments
 (0)