pvary opened a new pull request #2427: URL: https://github.com/apache/hive/pull/2427
### What changes were proposed in this pull request? - Introduce a new configuration property: `iceberg.hive.keep.stats`. If this property is set then we keep the statistics at a new Iceberg commit. Otherwise we invalidate the stats as we can not make sure that they are correct. - Fix a NullPointerExeption in HiveIcebergMetaHook which happens when we are storing stats. - Adds a new unit tests, and enhances the check that the stat values are accurate Also contains HIVE-25276 as a base. ### Why are the changes needed? When someone modifies the Iceberg table outside of Hive then we should make sure that the stats are invalid ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Extra unit test -- 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]
