File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ It provides an Iceberg integration for the [Datafusion](https://arrow.apache.org
6767
6868## Example
6969
70- Check out the [ datafusion examples] ( datafusion_iceberg/examples ) and [ maintenance examples ] ( iceberg-rust/examples/ ) .
70+ Check out the [ datafusion examples] ( datafusion_iceberg/examples ) .
7171
7272### Basic Table Operations
7373
Original file line number Diff line number Diff line change 4646//! .await?;
4747//!
4848//! // Expire old snapshots for maintenance
49- //! let result = table.expire_snapshots()
49+ //! let expired_snapshot_ids = table.expire_snapshots()
5050//! .expire_older_than(chrono::Utc::now().timestamp_millis() - 30 * 24 * 60 * 60 * 1000)
5151//! .retain_last(10)
5252//! .execute()
5353//! .await?;
5454//!
55- //! println!("Expired {} snapshots", result. expired_snapshot_ids.len());
55+ //! println!("Expired {} snapshots", expired_snapshot_ids.len());
5656//! # Ok(())
5757//! # }
5858//! ```
You can’t perform that action at this time.
0 commit comments