Skip to content

Commit

Permalink
Update AbstractMetaStore.java
Browse files Browse the repository at this point in the history
using new HashMap so the generated Yaml doesn't generate an anchor (reference &id001)
  • Loading branch information
patduin committed May 27, 2024
1 parent 8cb4b22 commit 5bd959c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ public abstract class AbstractMetaStore {
private List<String> writableDatabaseWhitelist;
private List<String> mappedDatabases;
private @Valid List<MappedTables> mappedTables;
private transient Map<String, String> databaseNameMapping = Collections.emptyMap();
private Map<String, String> databaseNameMapping = new HashMap<>();
private @NotBlank String name;
private @NotBlank String remoteMetaStoreUris;
private @Valid MetastoreTunnel metastoreTunnel;
private @NotNull AccessControlType accessControlType = AccessControlType.READ_ONLY;
private transient @JsonProperty @NotNull MetaStoreStatus status = MetaStoreStatus.UNKNOWN;
private long latency = 0;
private @JsonIgnore HashBiMap<String, String> databaseNameBiMapping = HashBiMap.create();
private Map<String, String> configurationProperties = Collections.emptyMap();
private transient @JsonIgnore HashBiMap<String, String> databaseNameBiMapping = HashBiMap.create();
private Map<String, String> configurationProperties = new HashMap<>();

public AbstractMetaStore(String name, String remoteMetaStoreUris, AccessControlType accessControlType) {
this.name = name;
Expand Down

0 comments on commit 5bd959c

Please sign in to comment.