apache/fluss-rust

[rust] Add a SnapshotId type alias

開放

#636 建立於 2026年6月24日

 (1 則留言) (0 個反應) (0 位負責人)Rust (48 個分叉)auto 404
good first issue

倉庫指標

星標
 (54 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Search before asking

  • I searched in the issues and found nothing similar.

Description

We have TableId, PartitionId, and BucketId aliases in lib.rs, but snapshot_id is still spelled i64 everywhere. Adding a matching SnapshotId alias would keep things consistent and make signatures easier to read.

A few hand-written sites to update: LakeSnapshot (metadata/table.rs), KvSnapshotLeaseForBucket (metadata/kv_snapshot_lease.rs), and the get_kv_snapshot_metadata / get_lake_snapshot request constructors.

Willingness to contribute

  • I'm willing to submit a PR!

貢獻者指南