You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2020/07/24 21:37:55 UTC

[GitHub] [iceberg] guilload commented on a change in pull request #1243: Add support for custom catalog to Iceberg StorageHandler (#1155)

guilload commented on a change in pull request #1243:
URL: https://github.com/apache/iceberg/pull/1243#discussion_r460299142



##########
File path: mr/src/main/java/org/apache/iceberg/mr/InputFormatConfig.java
##########
@@ -95,15 +93,12 @@ public ConfigBuilder schema(Schema schema) {
     }
 
     public ConfigBuilder readFrom(TableIdentifier identifier) {
-      return readFrom(identifier.toString());
-    }
-
-    public ConfigBuilder readFrom(File path) {
-      return readFrom(path.toString());
+      conf.set(TABLE_IDENTIFIER, identifier.toString());
+      return this;
     }
 
-    public ConfigBuilder readFrom(String path) {

Review comment:
       I have decided to remove `readFrom(String ...)` since the string can be ambiguously an identifier or a location.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org