HyukjinKwon commented on a change in pull request #29584:
URL: https://github.com/apache/spark/pull/29584#discussion_r479850004
##########
File path:
sql/catalyst/src/main/scala-2.12/org/apache/spark/sql/catalyst/util/CaseInsensitiveMap.scala
##########
@@ -42,7 +42,10 @@ class CaseInsensitiveMap[T] private (val originalMap:
Map[String, T]) extends Ma
override def +[B1 >: T](kv: (String, B1)): CaseInsensitiveMap[B1] = {
new CaseInsensitiveMap(originalMap.filter(!_._1.equalsIgnoreCase(kv._1)) +
kv)
}
-
+
+ override def updated[B1 >: T](key: String, value: B1):
CaseInsensitiveMap[B1] =
Review comment:
I remember we have two copy of this for Scala 2.13 compatibility. Are
you sure this is the right place to fix?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]