Make the Lance storage engine an optional feature (DataFusion-only build)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
The work spans feature declarations and conditional code across 9 files; the issue does not name those files. Start by reading how delta and unity-catalog features gate dependencies and code, then inspect the Lance paths listed in the proposal. Done means the DataFusion-only build excludes Lance dependencies while default builds retain existing behavior; the issue reports test and clippy results for both configurations.
索引モデルが issue の本文から書いたものです。
説明
Would you accept a PR that makes the Lance storage engine an optional feature?
We use lance-graph's Cypher parser and DataFusion planner over our own tables, registered in a SessionContext and run with execute_with_context. That path doesn't touch Lance. Even so, lance, lance-linalg and lance-namespace are required dependencies. They bring a large dependency tree (OpenSSL, ring, a protoc build step) that we can't ship in our environment.
Proposal. Add a default-on lance feature to lance-graph and lance-graph-catalog, in the same way delta and unity-catalog are gated today. It would gate:
- the
lance,lance-linalgandlance-namespacedependencies; DirNamespaceand theexecute_with_namespace*paths;- Lance vector search (
VectorSearch,execute_with_vector_rerank).
Nothing changes for existing users. With default-features = false, the Cypher engine builds as a DataFusion-only library.
There is also one small fix that applies either way. sql_query.rs uses DataFusion's sql feature, but it is enabled only transitively through lance, so it should be declared directly.
Status. I have this ready on top of main (e260cf6). It is about 40 lines across 9 files:
cargo test -p lance-graph --no-default-features: 550 passed, with nolance*,openssl-sysorringincargo tree -e normal;- the default features: 598 passed;
- clippy is clean both ways.
If this direction works for you, I'll open the PR. If you'd rather keep Lance required (for example, because of where the CSR / native traversal work is heading), that's useful to know too.
Drafted with an AI coding assistant; reviewed and tested by the author.
- 主要言語
- Rust
- スター
- 189
- フォーク
- 40
- 平均マージ
- 16分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lance-format/lance-graph のほかの issue
-
難易度 4/5 1〜2日 初心者へのやさしさ 55/100
lance-format/lance-graph#170 ·
-
LDBC benchmark: insignificant performance gain from enabling Lance dataset indexes for LanceGraphオープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
lance-format/lance-graph#166 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
lance-format/lance-graph#165 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
lance-format/lance-graph#164 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
lance-format/lance-graph#163 · コメント 3 件 ·
lance-format/lance-graph の issue をすべて見る
似ている issue
-
area:cli area:security bug priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
status: new topic: ga4gh-sdk type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
comp-rbac
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ClickHouse/ClickHouse#131875 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
googleworkspace/cli#984 ·
メンテナーはふだん 1 日以内に返信