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



##########
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:
       I missed this one. Sorry :(
   Reverted




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