Github user skambha commented on a diff in the pull request:
https://github.com/apache/spark/pull/19902#discussion_r155394195
--- Diff:
sql/core/src/main/java/org/apache/spark/sql/sources/v2/DataSourceV2Options.java
---
@@ -49,4 +49,23 @@ public DataSourceV2Options(Map<String, String>
originalMap) {
public Optional<String> get(String key) {
return Optional.ofNullable(keyLowerCasedMap.get(toLowerCase(key)));
}
+
--- End diff --
Thanks. Is it ok if I modify the comment a bit to this:
/**
* Returns the integer value to which the specified key is mapped,
* or defaultValue if this map contains no mapping for the key.
* The key match is case-insensitive
*/
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]