feature: support string and binary view types in schema serialization

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
backend, databases

調査の方向性

Start with rust/lance-namespace/src/schema.rs and rust/lance/src/arrow/json.rs, then inspect the existing schema conversion and Arrow JSON tests. Check how nested fields, nullability, field and schema metadata, and extension metadata are handled. Add focused coverage for namespace value-schema conversion and Arrow JSON round trips; done means both support view types while preserving their distinct contracts.

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

説明

feature

String/binary View arrays are supported in parts of Lance, but schema serialization still has gaps: the namespace schema converter explicitly rejects Utf8View/BinaryView, and Lance Arrow JSON does not include these representations in its primitive type mapping.

Acceptance:

  • Support Utf8View and BinaryView in namespace schema conversion according to its value-schema contract (mapping to utf8/binary where appropriate).
  • Support explicit string_view/binary_view representations in Lance Arrow JSON serialization and deserialization so this interface can round-trip the Arrow representation.
  • Preserve nested fields, nullability, and field/schema metadata, including extension metadata.
  • Keep the two serializers' contracts distinct; do not claim namespace value-schema normalization preserves the original Arrow layout.
  • Add focused schema conversion/round-trip coverage. No canonical decimal model, dataset migration, or new table format flag is required.

Source references: namespace schema conversion, Lance Arrow JSON. Source inspection only.

Extracted from #9496 while closing #9570. Related to the View support tracked in #7069, but independently useful to schema consumers.

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

環境構築

Codespaces で開く

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

はじめの一歩

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

lance-format/lance のほかの issue

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

似ている issue

Rust の issue をもっと見る

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

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