Skip to content

Commit b53bf1c

Browse files
committed
fix scala style
1 parent e2d8cef commit b53bf1c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
package org.apache.spark.sql.execution
1919

2020
import org.apache.spark.sql.{Column, Dataset, Row}
21-
import org.apache.spark.sql.internal.SQLConf
2221
import org.apache.spark.sql.catalyst.analysis.UnresolvedAttribute
2322
import org.apache.spark.sql.catalyst.expressions.{Add, Literal, Stack}
2423
import org.apache.spark.sql.execution.aggregate.HashAggregateExec
2524
import org.apache.spark.sql.execution.joins.BroadcastHashJoinExec
2625
import org.apache.spark.sql.execution.joins.SortMergeJoinExec
2726
import org.apache.spark.sql.expressions.scalalang.typed
2827
import org.apache.spark.sql.functions.{avg, broadcast, col, max}
28+
import org.apache.spark.sql.internal.SQLConf
2929
import org.apache.spark.sql.test.SharedSQLContext
3030
import org.apache.spark.sql.types.{IntegerType, StringType, StructType}
3131

@@ -137,7 +137,6 @@ class WholeStageCodegenSuite extends SparkPlanTest with SharedSQLContext {
137137
val df1 = Seq((1, 1), (2, 2), (3, 3)).toDF("key", "int")
138138
val df2 = Seq((1, "1"), (2, "2"), (3, "3")).toDF("key", "str")
139139

140-
// join condition contains CodegenFallback expression (i.e., reflect)
141140
val df = df1.join(df2, df1("key") === df2("key"))
142141
.filter("int = 2 or reflect('java.lang.Integer', 'valueOf', str) = 1")
143142
.select("int")

0 commit comments

Comments
 (0)