Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The construction of arrays should be more flexible

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp

調査の方向性

まず、issue に記載されている型固有の Builder および IArrowArray 構築 API を確認し、次にリンクされている Apache Arrow の issue を比較して、対象範囲を限定します。issue には複数の独立した目標が列挙されているため、完了とするには、1 つの改善を選択し、その動作を定義し、影響を受ける配列構築コードに対応するカバレッジを追加する必要があります。

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

説明

Today, arrays can only be constructed using a type-specific Builder. Builders start with some default initial size and grow either incrementally or by setting a new capacity. Once construction is complete, an immutable IArrowArray is produced. This mode of operation is safe but inflexible and potentially inefficient.

Some ideas for improving this are to

  • Allow an initial size to be specified for builders
  • Support (fixed-size) read-write arrays -- at least for fixed-width types -- in addition to read-only arrays
  • Allow ownership of memory to pass from the builder to the array upon construction so as not to require an additional allocation.
  • Allow native memory to be allocated without clearing it first
  • Allow a null value to be set directly in the builder, just as a non-null value can be
  • More flexible builders for nested types
  • Validating that the nullability of the type matches the values in the array

Inspired by:
https://github.com/apache/arrow/issues/21093
https://github.com/apache/arrow/issues/21386
https://github.com/apache/arrow/issues/21746
https://github.com/apache/arrow/issues/22309
https://github.com/apache/arrow/issues/25449
https://github.com/apache/arrow/issues/30567
https://github.com/apache/arrow/issues/35285
https://github.com/apache/arrow/issues/36133
https://github.com/apache/arrow/issues/40188

主要言語
C#
スター
40
フォーク
30
平均マージ
1日 7時間
マージ済み PR(30日)
12

環境構築

はじめの一歩

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

apache/arrow-dotnet のほかの issue

apache/arrow-dotnet の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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