Skip to content

Commit 10056a1

Browse files
committed
1
1 parent 473e9e5 commit 10056a1

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

paimon-common/src/main/java/org/apache/paimon/catalog/CatalogContext.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,6 @@ public static CatalogContext create(Options options, FileIOLoader fallbackIOLoad
8888
return new CatalogContext(options, null, null, fallbackIOLoader, null);
8989
}
9090

91-
public static CatalogContext create(
92-
Options options, FileIOLoader fallbackIOLoader, @Nullable String catalogName) {
93-
return new CatalogContext(options, null, null, fallbackIOLoader, catalogName);
94-
}
95-
9691
public static CatalogContext create(
9792
Options options, FileIOLoader preferIOLoader, FileIOLoader fallbackIOLoader) {
9893
return new CatalogContext(options, null, preferIOLoader, fallbackIOLoader, null);

paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/FlinkCatalogFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public FlinkCatalog createCatalog(Context context) {
5555
CatalogContext.create(
5656
Options.fromMap(context.getOptions()),
5757
new FlinkFileIOLoader(),
58+
null,
5859
context.getName()),
5960
context.getClassLoader());
6061
}

paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/FlinkGenericCatalogFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ public static FlinkGenericCatalog createCatalog(
9393
FlinkCatalog paimon =
9494
new FlinkCatalog(
9595
org.apache.paimon.catalog.CatalogFactory.createCatalog(
96-
CatalogContext.create(options, new FlinkFileIOLoader(), name), cl),
96+
CatalogContext.create(options, new FlinkFileIOLoader(), null, name),
97+
cl),
9798
name,
9899
options.get(DEFAULT_DATABASE),
99100
options);

0 commit comments

Comments
 (0)