HyukjinKwon commented on code in PR #36631:
URL: https://github.com/apache/spark/pull/36631#discussion_r878971236


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala:
##########
@@ -1229,7 +1229,7 @@ class Analyzer(override val catalogManager: 
CatalogManager)
         val partCols = partitionColumnNames(r.table)
         validatePartitionSpec(partCols, i.partitionSpec)
 
-        val staticPartitions = 
i.partitionSpec.filter(_._2.isDefined).mapValues(_.get).toMap
+        val staticPartitions = 
i.partitionSpec.filter(_._2.isDefined).mapValues(_.get)

Review Comment:
   I remember this was for Scala 2.13 compliance. Does it work with Scala 2.13?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to