Skip to content

Commit

Permalink
[ARCTIC-1280][Spark]Fix bug: When the AMS deployment of high availabi…
Browse files Browse the repository at this point in the history
…lity, use ArcticSparkSessionCatalog loadTable will throw exception (#1302)

fix-1280

Co-authored-by: jinsilei <[email protected]>
  • Loading branch information
hellojinsilei and jinsilei authored Mar 30, 2023
1 parent 3e99443 commit 3a0afe0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ public void renameTable(Identifier from, Identifier to) throws NoSuchTableExcept
public final void initialize(String name, CaseInsensitiveStringMap options) {
this.catalogName = name;
this.options = options;
try {
this.arcticCatalog = buildSparkCatalog(name, options);
} catch (Exception e) {
this.arcticCatalog = null;
}
}

@Override
Expand Down

0 comments on commit 3a0afe0

Please sign in to comment.