pvary commented on code in PR #14997:
URL: https://github.com/apache/iceberg/pull/14997#discussion_r2676684232
##########
core/src/main/java/org/apache/iceberg/view/ViewMetadata.java:
##########
@@ -369,6 +380,7 @@ public Builder addSchema(Schema schema) {
private int addSchemaInternal(Schema schema) {
int newSchemaId = reuseOrCreateNewSchemaId(schema);
if (schemasById.containsKey(newSchemaId)) {
+ this.lastSeenExistingSchemaId = newSchemaId;
Review Comment:
So if we have S1 already as a last schema, we don't need to update the view,
but if we have S1 as an old schema, then we would like to update the view.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]