snazy commented on code in PR #724: URL: https://github.com/apache/polaris/pull/724#discussion_r1925795624
########## service/common/src/main/java/org/apache/polaris/service/catalog/io/DefaultFileIOFactory.java: ########## @@ -19,18 +19,157 @@ package org.apache.polaris.service.catalog.io; import io.smallrye.common.annotation.Identifier; +import jakarta.annotation.Nonnull; import jakarta.enterprise.context.ApplicationScoped; +import jakarta.inject.Inject; import java.util.Map; +import java.util.Optional; +import java.util.Set; import org.apache.hadoop.conf.Configuration; import org.apache.iceberg.CatalogUtil; +import org.apache.iceberg.catalog.TableIdentifier; import org.apache.iceberg.io.FileIO; +import org.apache.polaris.core.PolarisConfiguration; +import org.apache.polaris.core.PolarisConfigurationStore; +import org.apache.polaris.core.context.RealmContext; +import org.apache.polaris.core.entity.PolarisEntity; +import org.apache.polaris.core.entity.PolarisEntityConstants; +import org.apache.polaris.core.persistence.PolarisEntityManager; +import org.apache.polaris.core.persistence.PolarisMetaStoreManager; +import org.apache.polaris.core.persistence.PolarisMetaStoreSession; +import org.apache.polaris.core.persistence.PolarisResolvedPathWrapper; +import org.apache.polaris.core.storage.PolarisCredentialVendor; +import org.apache.polaris.core.storage.PolarisStorageActions; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; /** A simple FileIOFactory implementation that defers all the work to the Iceberg SDK */ @ApplicationScoped @Identifier("default") public class DefaultFileIOFactory implements FileIOFactory { Review Comment: Do not extend any bean class - especially not if you pass other beans to the parent class (which is the case here), even if that's `abstract` class. It effective makes such beans unproxyable - Quarkus fails at build time - Weld, the CDI reference implementation fails at runtime. -- 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