Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgio Trettenero committed Dec 4, 2024
1 parent fdb9a14 commit c75b3ad
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,13 @@ public void init() {
final String location = "file://temp2";
polarisStoreService.createDatabase(DB1_NAME, location, "metacat_user");
connectorContext = new ConnectorContext(CATALOG_NAME, CATALOG_NAME, "polaris",
new DefaultConfigImpl(new MetacatProperties(null)), new NoopRegistry(), null, Maps.newHashMap());
new DefaultConfigImpl(
new MetacatProperties(null)
),
new NoopRegistry(),
null,
Maps.newHashMap()
);
polarisDBService = new PolarisConnectorDatabaseService(polarisStoreService, connectorContext);

polarisTableService = new PolarisConnectorTableService(
Expand Down Expand Up @@ -202,7 +208,8 @@ public void testDeleteDb() {
public void testDeleteDbNoCascades() {
Assert.assertTrue(polarisDBService.exists(requestContext, DB1_QUALIFIED_NAME));

final QualifiedName qualifiedName = QualifiedName.ofTable(CATALOG_NAME, DB1_QUALIFIED_NAME.getDatabaseName(), "table1");
final QualifiedName qualifiedName = QualifiedName.ofTable(
CATALOG_NAME, DB1_QUALIFIED_NAME.getDatabaseName(), "table1");
final TableInfo tableInfo = TableInfo.builder()
.name(qualifiedName)
.metadata(ImmutableMap.of("table_type", "ICEBERG", "metadata_location", "loc1"))
Expand Down

0 comments on commit c75b3ad

Please sign in to comment.