Skip to content

Commit 54b44c7

Browse files
committed
[SPARK-28939][SQL][FOLLOWUP] Fix JDK11 compilation due to ambiguous reference to putAll
1 parent e516f7e commit 54b44c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/SQLExecutionRDD.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class SQLExecutionRDD(
3939
private val sqlConfigs = conf.getAllConfs
4040
private lazy val sqlConfExecutorSide = {
4141
val props = new Properties()
42-
props.putAll(sqlConfigs.asJava)
42+
sqlConfigs.foreach { case (k, v) => props.setProperty(k, v) }
4343
val newConf = new SQLConf()
4444
newConf.setConf(props)
4545
newConf

0 commit comments

Comments
 (0)