nssalian opened a new pull request, #16852: URL: https://github.com/apache/iceberg/pull/16852
## Summary `VariantMetadataReader` now caches the last parsed `VariantMetadata` so adjacent rows with identical metadata bytes skip the re-parse. ## Test plan - `testMetadataCachingWithIdenticalRows`: 50 rows with identical metadata exercise the cache hit path. - `testMetadataCachingWithMixedMetadata`: alternating metadata of different lengths exercises invalidation via the length pre-check. - `testMetadataCachingByteCompare`: alternating metadata of identical length but different content forces `bufferEquals` to discriminate by content. -- 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]
