JingsongLi commented on code in PR #4891:
URL: https://github.com/apache/paimon/pull/4891#discussion_r1923028293
##########
paimon-core/src/main/java/org/apache/paimon/table/FileStoreTableFactory.java:
##########
@@ -36,13 +38,19 @@
/** Factory to create {@link FileStoreTable}. */
public class FileStoreTableFactory {
-
public static FileStoreTable create(CatalogContext context) {
+ boolean resolvingFileIOEnabled =
+ context.options().get(CatalogOptions.RESOLVING_FILEIO_ENABLED);
FileIO fileIO;
- try {
- fileIO = FileIO.get(CoreOptions.path(context.options()), context);
- } catch (IOException e) {
- throw new UncheckedIOException(e);
+ if (resolvingFileIOEnabled) {
Review Comment:
Can we modify this in `FileIO.get`? And we can remove this option
in`ResolvingFileIO` to avoid infinite recursion
--
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]