Skip to content

Commit ab27a0f

Browse files
committed
fix review comments
1 parent 068d76f commit ab27a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2132,7 +2132,7 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession with AdaptiveSpark
21322132
test("SPARK-27619: when spark.sql.legacy.useHashOnMapType is true, hash can be used on Maptype") {
21332133
Seq("hash", "xxhash64").foreach {
21342134
case hashExpression =>
2135-
withSQLConf(SQLConf.LEGACY_USE_HASH_ON_MAPTYPE.key -> true.toString()) {
2135+
withSQLConf(SQLConf.LEGACY_USE_HASH_ON_MAPTYPE.key -> "true") {
21362136
val df = spark.createDataset(Map() :: Nil)
21372137
checkAnswer(df.selectExpr(s"$hashExpression(*)"), sql(s"SELECT $hashExpression(map())"))
21382138
}

0 commit comments

Comments
 (0)