rdblue commented on a change in pull request #14: Pluggable file I/O submodule in TableOperations URL: https://github.com/apache/incubator-iceberg/pull/14#discussion_r239300977
########## File path: core/src/main/java/com/netflix/iceberg/hadoop/HadoopTableOperations.java ########## @@ -91,7 +91,7 @@ public TableMetadata refresh() { } this.version = ver; this.currentMetadata = TableMetadataParser.read(this, - HadoopInputFile.fromPath(metadataFile, conf)); + fileIo().newInputFile(metadataFile.toString())); Review comment: Can `HadoopFileIO` expose a `newInputFile(Path)` method instead of using `toString`? Since this already expects its io to be the right type, it would be fairly easy to pass on the call to `HadoopInputFile.fromPath`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services