Github user skambha commented on a diff in the pull request:
https://github.com/apache/spark/pull/19902#discussion_r155389138
--- Diff:
sql/core/src/main/java/org/apache/spark/sql/sources/v2/DataSourceV2Options.java
---
@@ -49,4 +49,22 @@ public DataSourceV2Options(Map<String, String>
originalMap) {
public Optional<String> get(String key) {
return Optional.ofNullable(keyLowerCasedMap.get(toLowerCase(key)));
}
+
+ public Optional<Boolean> getBoolean(String key) {
--- End diff --
Per @gatorsmile , I have gone and removed the version of the methods that
doesn't take the default value.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]