rdblue commented on a change in pull request #24094: [SPARK-27162][SQL] Add new
method getOriginalMap in CaseInsensitiveStringMap
URL: https://github.com/apache/spark/pull/24094#discussion_r266174147
##########
File path:
sql/catalyst/src/main/java/org/apache/spark/sql/util/CaseInsensitiveStringMap.java
##########
@@ -157,4 +163,11 @@ public double getDouble(String key, double defaultValue) {
String value = get(key);
return value == null ? defaultValue : Double.parseDouble(value);
}
+
+ /**
+ * Returns the original case-sensitive map.
+ */
+ public Map<String, String> getOriginalMap() {
Review comment:
What about `asCaseSensitiveMap`? That is more clear that using "original"
because that doesn't indicate why someone would call this method.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]