We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 068d76f commit ab27a0fCopy full SHA for ab27a0f
sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
@@ -2132,7 +2132,7 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession with AdaptiveSpark
2132
test("SPARK-27619: when spark.sql.legacy.useHashOnMapType is true, hash can be used on Maptype") {
2133
Seq("hash", "xxhash64").foreach {
2134
case hashExpression =>
2135
- withSQLConf(SQLConf.LEGACY_USE_HASH_ON_MAPTYPE.key -> true.toString()) {
+ withSQLConf(SQLConf.LEGACY_USE_HASH_ON_MAPTYPE.key -> "true") {
2136
val df = spark.createDataset(Map() :: Nil)
2137
checkAnswer(df.selectExpr(s"$hashExpression(*)"), sql(s"SELECT $hashExpression(map())"))
2138
}
0 commit comments