fbocse commented on a change in pull request #1177:
URL: https://github.com/apache/iceberg/pull/1177#discussion_r482809860
##########
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:
sure, I like either one @rdsr you make the call pls :)
----------------------------------------------------------------
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]