Skip to content

Commit ea86d9c

Browse files
committed
Remove unnecessary check
1 parent 44e24fd commit ea86d9c

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

integration-tests/src/main/java/org/apache/polaris/service/it/test/PolarisRestCatalogViewIntegrationBase.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,11 @@ public void createViewWithCustomMetadataLocationUsingPolaris(@TempDir Path tempD
202202
String customLocationChild =
203203
Paths.get(tempDir.toUri().toString(), "custom-location/child").toString();
204204

205-
if (requiresNamespaceCreate()) {
206-
catalog()
207-
.createNamespace(
208-
identifier.namespace(),
209-
ImmutableMap.of(
210-
IcebergTableLikeEntity.USER_SPECIFIED_WRITE_METADATA_LOCATION_KEY, location));
211-
}
205+
catalog()
206+
.createNamespace(
207+
identifier.namespace(),
208+
ImmutableMap.of(
209+
IcebergTableLikeEntity.USER_SPECIFIED_WRITE_METADATA_LOCATION_KEY, location));
212210

213211
Assertions.assertThat(catalog().viewExists(identifier)).as("View should not exist").isFalse();
214212

0 commit comments

Comments
 (0)