Skip to content

Commit

Permalink
[spark] bugfix: set underlyingSessionCatalogEnabled correctly (#2984)
Browse files Browse the repository at this point in the history
  • Loading branch information
YannByron authored Mar 11, 2024
1 parent d8d737f commit 2f96312
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public final void initialize(String name, CaseInsensitiveStringMap options) {

if (options.getBoolean(
SparkConnectorOptions.CREATE_UNDERLYING_SESSION_CATALOG.key(), false)) {
this.underlyingSessionCatalogEnabled = false;
this.underlyingSessionCatalogEnabled = true;
for (Map.Entry<String, String> entry : options.entrySet()) {
sparkConf.set("spark.hadoop." + entry.getKey(), entry.getValue());
hadoopConf.set(entry.getKey(), entry.getValue());
Expand Down

0 comments on commit 2f96312

Please sign in to comment.