unikdahal opened a new pull request, #18157: URL: https://github.com/apache/iceberg/pull/18157
Closes #18155. `ViewMetadata.Builder` limits retained view versions using `version.history.num-entries`, but previously kept schemas referenced only by versions that were expired. This could cause view metadata to grow over repeated view replacements with evolving schemas. This change prunes schemas that are referenced only by expired view versions while preserving schemas referenced by retained versions and standalone schemas that are not associated with any view version. Adds regression coverage for schema retention across version expiration, shared schemas, standalone schemas, current versions, and REST-style metadata updates. -- 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]
