feat(iceberg): Add snapshot utils to scan ancestors (#2285)

## Which issue does this PR close?

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes #123` indicates that this PR will close issue #123.
-->

- Closes #2241 

## What changes are included in this PR?
- Add `Ancestors` to help scan past snapshots
- Moved existing util to the new utils mod
<!--
Provide a summary of the modifications in this PR. List the main changes
such as new features, bug fixes, refactoring, or any other updates.
-->

## Are these changes tested?
Yes
<!--
Specify what test covers (unit test, integration test, etc.).

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->
6 files changed
tree: 4c76a25a936e21ae4796836f57a696c4e113700e
  1. .cargo/
  2. .devcontainer/
  3. .github/
  4. .idea/
  5. bindings/
  6. crates/
  7. dev/
  8. docs/
  9. scripts/
  10. website/
  11. .asf.yaml
  12. .gitattributes
  13. .gitignore
  14. .licenserc.yaml
  15. .taplo.toml
  16. .typos.toml
  17. Cargo.lock
  18. Cargo.toml
  19. CHANGELOG.md
  20. CONTRIBUTING.md
  21. deny.toml
  22. LICENSE
  23. Makefile
  24. NOTICE
  25. README.md
  26. rust-toolchain.toml
  27. rustfmt.toml
README.md

Apache Iceberg™ Rust

Rust implementation of Apache Iceberg™.

Components

The Apache Iceberg Rust project is composed of the following components:

NameReleaseDocs
icebergiceberg imagedocs release docs dev
iceberg-catalog-loadericeberg-catalog-loader imagedocs release docs dev
iceberg-catalog-glueiceberg-catalog-glue imagedocs release docs dev
iceberg-catalog-hmsiceberg-catalog-hms imagedocs release docs dev
iceberg-catalog-resticeberg-catalog-rest imagedocs release docs dev
iceberg-catalog-s3tablesiceberg-catalog-s3tables imagedocs release docs dev
iceberg-catalog-sqliceberg-catalog-sql imagedocs release docs dev
iceberg-cache-mokaiceberg-cache-moka imagedocs release docs dev
iceberg-datafusioniceberg-datafusion imagedocs release docs dev
iceberg-storage-opendaliceberg-storage-opendal imagedocs release docs dev

Iceberg Rust Implementation Status

The features that Iceberg Rust currently supports can be found here.

Supported Rust Version

Iceberg Rust is built and tested with stable rust, and will keep a rolling MSRV (minimum supported rust version). At least three months from latest rust release is supported. MSRV is updated when we release iceberg-rust.

Check the current MSRV on crates.io.

Contribute

Apache Iceberg is an active open-source project, governed under the Apache Software Foundation (ASF). Apache Iceberg Rust is always open to people who want to use or contribute to it. Here are some ways to get involved.

The Apache Iceberg community is built on the principles described in the Apache Way and all who engage with the community are expected to be respectful, open, come with the best interests of the community in mind, and abide by the Apache Foundation Code of Conduct.

Users

  • Databend: An open-source cloud data warehouse that serves as a cost-effective alternative to Snowflake.
  • Lakekeeper: An Apache-licensed Iceberg REST Catalog with data access controls.
  • Moonlink: A Rust library that enables sub-second mirroring (CDC) of Postgres tables into Iceberg.
  • RisingWave: A Postgres-compatible SQL database designed for real-time event streaming data processing, analysis, and management.
  • Wrappers: Postgres Foreign Data Wrapper development framework in Rust.
  • ETL: Stream your Postgres data anywhere in real-time.
  • Apache DataFusion Comet: High-performance accelerator for Apache Spark, built on top of the powerful Apache DataFusion query engine.

License

Licensed under the Apache License, Version 2.0