jackye1995 commented on code in PR #6655:
URL: https://github.com/apache/iceberg/pull/6655#discussion_r1096243437
##########
core/src/main/java/org/apache/iceberg/io/ResolvingFileIO.java:
##########
@@ -168,6 +168,14 @@ private static String implFromLocation(String location) {
return SCHEME_TO_FILE_IO.getOrDefault(scheme(location), FALLBACK_IMPL);
}
+ public Class<?> ioClass(String location) {
+ try {
+ return Class.forName(implFromLocation(location));
+ } catch (ClassNotFoundException e) {
+ throw new RuntimeException(e);
Review Comment:
I think this can be a validation exception
--
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]