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



##########
File path: api/src/main/java/org/apache/iceberg/catalog/Catalog.java
##########
@@ -303,4 +303,83 @@ default boolean dropTable(TableIdentifier identifier) {
    * @throws NoSuchTableException if the table does not exist
    */
   Table loadTable(TableIdentifier identifier);
+
+  /**
+   * Instantiate a builder to either create a table or start a create/replace 
transaction.
+   *
+   * @param identifier a table identifier
+   * @param schema a schema
+   * @return the builder to create a table or start a create/replace 
transaction
+   */
+  default TableBuilder buildTable(TableIdentifier identifier, Schema schema) {
+    throw new UnsupportedOperationException(this.getClass().getName() + " does 
not implement buildTable");

Review comment:
       Sounds good.




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