adutra commented on PR #1772: URL: https://github.com/apache/polaris/pull/1772#issuecomment-2935984439
@fivetran-kostaszoumpatianos I transformed your example above into a test (to be added in `PolarisApplicationIntegrationTest`): ```java @Test public void createTableFails() throws IOException { String catalogName = client.newEntityName("createTableFails"); createCatalog( catalogName, Catalog.TypeEnum.INTERNAL, principalRoleName, FileStorageConfigInfo.builder(StorageConfigInfo.StorageTypeEnum.FILE) .setAllowedLocations(List.of(baseLocation.toString())) .build(), baseLocation.toString()); try (RESTSessionCatalog catalog = newSessionCatalog(catalogName)) { Namespace ns = Namespace.of("ns1"); SessionCatalog.SessionContext sessionContext = SessionCatalog.SessionContext.createEmpty(); if (!catalog.namespaceExists(sessionContext, ns)) { catalog.createNamespace(sessionContext, ns); } catalog .buildTable( sessionContext, TableIdentifier.of(ns, "history"), new Schema( List.of( Types.NestedField.required(1, "id", Types.IntegerType.get()), Types.NestedField.required(2, "number", Types.IntegerType.get())), Set.of(1))) .withSortOrder(SortOrder.unsorted()) .withPartitionSpec(PartitionSpec.unpartitioned()) .withProperty("stage-create", "true") .create(); } } ``` But the test passes 🤷♂️ I still cannot reproduce the bug. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org