rdblue commented on a change in pull request #1394:
URL: https://github.com/apache/iceberg/pull/1394#discussion_r479424419



##########
File path: mr/src/main/java/org/apache/iceberg/mr/Catalogs.java
##########
@@ -68,10 +71,11 @@ private static Table loadTable(Configuration conf, String 
tableIdentifier, Strin
     if (catalog.isPresent()) {
       Preconditions.checkArgument(tableIdentifier != null, "Table identifier 
not set");
       return catalog.get().loadTable(TableIdentifier.parse(tableIdentifier));
+    } else {
+      Preconditions.checkArgument(tableLocation != null, "Table location not 
set");
+      return new HadoopTables(conf).load(tableLocation);

Review comment:
       Looks like this change is not needed. Could you roll it back?




----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to