@@ -53,7 +53,7 @@ class SparkPlanTest extends SparkFunSuite {
5353 input : DataFrame ,
5454 planFunction : SparkPlan => SparkPlan ,
5555 expectedAnswer : Seq [Row ],
56- sortAnswers : Boolean ): Unit = {
56+ sortAnswers : Boolean = true ): Unit = {
5757 checkAnswer(
5858 input :: Nil ,
5959 (plans : Seq [SparkPlan ]) => planFunction(plans.head),
@@ -76,7 +76,7 @@ class SparkPlanTest extends SparkFunSuite {
7676 right : DataFrame ,
7777 planFunction : (SparkPlan , SparkPlan ) => SparkPlan ,
7878 expectedAnswer : Seq [Row ],
79- sortAnswers : Boolean ): Unit = {
79+ sortAnswers : Boolean = true ): Unit = {
8080 checkAnswer(
8181 left :: right :: Nil ,
8282 (plans : Seq [SparkPlan ]) => planFunction(plans(0 ), plans(1 )),
@@ -97,7 +97,7 @@ class SparkPlanTest extends SparkFunSuite {
9797 input : Seq [DataFrame ],
9898 planFunction : Seq [SparkPlan ] => SparkPlan ,
9999 expectedAnswer : Seq [Row ],
100- sortAnswers : Boolean ): Unit = {
100+ sortAnswers : Boolean = true ): Unit = {
101101 SparkPlanTest .checkAnswer(input, planFunction, expectedAnswer, sortAnswers) match {
102102 case Some (errorMessage) => fail(errorMessage)
103103 case None =>
@@ -117,7 +117,7 @@ class SparkPlanTest extends SparkFunSuite {
117117 input : DataFrame ,
118118 planFunction : SparkPlan => SparkPlan ,
119119 expectedAnswer : Seq [A ],
120- sortAnswers : Boolean ): Unit = {
120+ sortAnswers : Boolean = true ): Unit = {
121121 val expectedRows = expectedAnswer.map(Row .fromTuple)
122122 checkAnswer(input, planFunction, expectedRows, sortAnswers)
123123 }
@@ -137,7 +137,7 @@ class SparkPlanTest extends SparkFunSuite {
137137 right : DataFrame ,
138138 planFunction : (SparkPlan , SparkPlan ) => SparkPlan ,
139139 expectedAnswer : Seq [A ],
140- sortAnswers : Boolean ): Unit = {
140+ sortAnswers : Boolean = true ): Unit = {
141141 val expectedRows = expectedAnswer.map(Row .fromTuple)
142142 checkAnswer(left, right, planFunction, expectedRows, sortAnswers)
143143 }
@@ -155,7 +155,7 @@ class SparkPlanTest extends SparkFunSuite {
155155 input : Seq [DataFrame ],
156156 planFunction : Seq [SparkPlan ] => SparkPlan ,
157157 expectedAnswer : Seq [A ],
158- sortAnswers : Boolean ): Unit = {
158+ sortAnswers : Boolean = true ): Unit = {
159159 val expectedRows = expectedAnswer.map(Row .fromTuple)
160160 checkAnswer(input, planFunction, expectedRows, sortAnswers)
161161 }
@@ -176,7 +176,7 @@ class SparkPlanTest extends SparkFunSuite {
176176 input : DataFrame ,
177177 planFunction : SparkPlan => SparkPlan ,
178178 expectedPlanFunction : SparkPlan => SparkPlan ,
179- sortAnswers : Boolean ): Unit = {
179+ sortAnswers : Boolean = true ): Unit = {
180180 SparkPlanTest .checkAnswer(input, planFunction, expectedPlanFunction, sortAnswers) match {
181181 case Some (errorMessage) => fail(errorMessage)
182182 case None =>
0 commit comments