Skip to content

Commit

Permalink
rename getTableBuilder to getInstance to keep consistent with glue one
Browse files Browse the repository at this point in the history
  • Loading branch information
kroushan-nit committed Feb 6, 2025
1 parent 98cc216 commit 9a9230e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ private void _init(
} catch (MetaException | HiveException e) {
throw new CatalogSyncException("HiveMetastoreClient could not be created", e);
}
this.tableBuilder =
HMSCatalogTableBuilderFactory.getTableBuilder(tableFormat, this.configuration);
this.tableBuilder = HMSCatalogTableBuilderFactory.getInstance(tableFormat, this.configuration);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

public class HMSCatalogTableBuilderFactory {

public static CatalogTableBuilder<Table, Table> getTableBuilder(
static CatalogTableBuilder<Table, Table> getInstance(
String tableFormat, Configuration configuration) {
switch (tableFormat) {
case TableFormat.ICEBERG:
Expand Down

0 comments on commit 9a9230e

Please sign in to comment.