XJDKC commented on code in PR #724:
URL: https://github.com/apache/polaris/pull/724#discussion_r1926115162
##########
quarkus/service/src/test/java/org/apache/polaris/service/quarkus/catalog/BasePolarisCatalogTest.java:
##########
@@ -1458,6 +1461,55 @@ public void testDropTableWithPurgeDisabled() {
.hasMessageContaining(PolarisConfiguration.DROP_WITH_PURGE_ENABLED.key);
}
+ @Test
+ public void testRefreshIOForTableLike() {
+ // Enable ALLOW_SPECIFYING_FILE_IO_IMPL and disable
SKIP_CREDENTIAL_SUBSCOPING_INDIRECTION
+ PolarisConfigurationStore configurationStore =
+ new DefaultConfigurationStore(
+ Map.of(
+ "ALLOW_SPECIFYING_FILE_IO_IMPL",
+ true,
+
PolarisConfiguration.SKIP_CREDENTIAL_SUBSCOPING_INDIRECTION.key,
+ false));
+ try (MockedStatic<CatalogUtil> catalogUtil =
+ Mockito.mockStatic(CatalogUtil.class, Mockito.CALLS_REAL_METHODS)) {
Review Comment:
Done, create a separate class for the FileIOFactory.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]