Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/22553#discussion_r220463389
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/CaseInsensitiveMap.scala
---
@@ -42,7 +42,11 @@ class CaseInsensitiveMap[T] private (val originalMap:
Map[String, T]) extends Ma
override def iterator: Iterator[(String, T)] = keyLowerCasedMap.iterator
override def -(key: String): Map[String, T] = {
- new
CaseInsensitiveMap(originalMap.filterKeys(!_.equalsIgnoreCase(key)))
--- End diff --
since we override `filterKeys`, do we still need to change here?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]