feature: carry clustering_id and metadata through Transaction V2 fragment and index actions

オープン
#10,472 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
data

調査の方向性

The issue names AddFragment and AddIndexSegment; start with their Transaction V2 definitions and the manifest-lowering code that reads Fragment and IndexMetadata. Carry clustering_id and metadata into both actions, lower them into the manifest, and extend the existing action-to-manifest plus proto encode/decode round-trip tests. Done means a round-trip preserves both fields for fragments and index segments.

索引モデルが issue の本文から書いたものです。

説明

feature

Main added clustering_id and metadata to both Fragment and IndexMetadata. The Transaction V2 actions don't carry them yet: AddFragment (feat(transaction): implement the Transaction V2 action vocabulary) and AddIndexSegment (feat(transaction): implement the index management actions) always commit clustering_id: None and empty metadata. So a fragment or index segment committed through an action set loses whatever the writer set. The object-metadata writer flag is still derived from the index list, so segments that are carried over keep their fence.

Add the two fields to both actions, lower them into the manifest, and cover them with round-trip tests (action → manifest, and proto encode/decode).

Deferred from the lance-format/lance#8644–lance-format/lance#8646 rebase so the stack doesn't grow with every field main adds concurrently.

🤖 Generated with Claude Code

主要言語
Rust
スター
7.3k
フォーク
929
平均マージ
2日 14時間
マージ済み PR(30日)
569

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lance-format/lance のほかの issue

lance-format/lance の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。