samarthjain commented on a change in pull request #187: Catalog Implementation 
for hive and hadoop.
URL: https://github.com/apache/incubator-iceberg/pull/187#discussion_r284505468
 
 

 ##########
 File path: core/src/main/java/org/apache/iceberg/hadoop/HadoopCatalog.java
 ##########
 @@ -64,40 +61,73 @@ public Table load(String location) {
     return new BaseTable(ops, location);
   }
 
+  private TableOperations newTableOps(String location) {
+    return new HadoopTableOperations(new Path(location), conf);
+  }
+
+  @Override
+  public void setConf(Configuration conf) {
+    this.conf = conf;
+  }
+
+  @Override
+  public Configuration getConf() {
+    return conf;
+  }
+
   /**
-   * Create a table using the FileSystem implementation resolve from
-   * location.
+   * Create a table using the FileSystem implementation resolve from location.
    *
-   * @param schema iceberg schema used to create the table
-   * @param spec partition specification
-   * @param location a path URI (e.g. hdfs:///warehouse/my_table)
-   * @return newly created table implementation
+   * @param tableIdentifier an identifier to identify this table in a 
namespace.
+   * @param schema the schema for this table, can not be null.
 
 Review comment:
   Would be good to add a Preconditions.checkNotNull() check to assert this.

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


With regards,
Apache Git Services

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

Reply via email to