From c75b3adf059d9a30c1059391adf8ca059505246e Mon Sep 17 00:00:00 2001 From: Giorgio Trettenero Date: Wed, 4 Dec 2024 03:52:51 -0800 Subject: [PATCH] minor changes --- .../polaris/PolarisConnectorDatabaseServiceTest.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/metacat-connector-polaris/src/test/java/com/netflix/metacat/connector/polaris/PolarisConnectorDatabaseServiceTest.java b/metacat-connector-polaris/src/test/java/com/netflix/metacat/connector/polaris/PolarisConnectorDatabaseServiceTest.java index 787b5ddb..e05c30e4 100644 --- a/metacat-connector-polaris/src/test/java/com/netflix/metacat/connector/polaris/PolarisConnectorDatabaseServiceTest.java +++ b/metacat-connector-polaris/src/test/java/com/netflix/metacat/connector/polaris/PolarisConnectorDatabaseServiceTest.java @@ -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( @@ -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"))