fbocse commented on a change in pull request #1177:
URL: https://github.com/apache/iceberg/pull/1177#discussion_r482066555



##########
File path: api/src/main/java/org/apache/iceberg/UpdateSchema.java
##########
@@ -361,4 +361,14 @@ default UpdateSchema updateColumn(String name, 
Type.PrimitiveType newType, Strin
    *                                  change conflicts with other changes.
    */
   UpdateSchema moveAfter(String name, String afterName);
+
+
+  /**
+   * Applies all the additions and updates [type widening, field documentation]
+   * from the provided new schema
+   *
+   * @param newSchema - Input schema from which updates are applied
+   * @return this for method chaining
+   */
+  UpdateSchema unionWithByFieldName(Schema newSchema);

Review comment:
       @rdblue @rdsr pls weigh in on the naming of this new API - I went for 
something that's as accurate as possible but pls drop a note in case you have a 
better suggestion for it




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