ajantha-bhat commented on code in PR #9884:
URL: https://github.com/apache/iceberg/pull/9884#discussion_r1514871547
##########
core/src/main/java/org/apache/iceberg/io/ResolvingFileIO.java:
##########
@@ -219,7 +230,7 @@ DelegateFileIO io(String location) {
@VisibleForTesting
String implFromLocation(String location) {
- return SCHEME_TO_FILE_IO.getOrDefault(scheme(location), FALLBACK_IMPL);
+ return schemeToFileIo.getOrDefault(scheme(location), FALLBACK_IMPL);
Review Comment:
If FileIO is not initalized but this API is called on empty fileIO, we used
to look up from static `SCHEME_PROPERTY_PREFIX`, now it will be an empty map if
initialize is not called.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]