Aggarwal-Raghav opened a new pull request, #6681: URL: https://github.com/apache/hive/pull/6681
### What changes were proposed in this pull request? Introduce, `ANCESTORS_OF` command for Iceberg tables, allowing users to inspect the snapshot history and rollback lineage natively in Hive. ### Why are the changes needed? To improve Iceberg metadata visibility. This brings Hive closer to feature parity with Spark, which natively support inspecting Iceberg snapshot history and lineage chains. ### Does this PR introduce _any_ user-facing change? Yes, New DDL ```sql -- Trace lineage from the current snapshot ALTER TABLE my_iceberg_table EXECUTE ANCESTORS_OF; -- Trace lineage backwards from a specific historical snapshot ALTER TABLE my_iceberg_table EXECUTE ANCESTORS_OF(2141260513344612246); ``` ### How was this patch tested? On local setup -- 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]
