Refactor arrow-select tests with rstest
メンテナーはふだん 1 日以内に返信
@Phoenix500526 がすでに取り組んでいます。
2026年11月23日 から。
評価
この issue はまだ評価されていません。
説明
Is your feature request related to a problem or challenge?
Selected arrow-select tests repeat setup and assertions or hide independent parameter combinations in nested loops. This makes individual scenarios harder to read and failures harder to identify.
This issue tracks the arrow-select portion of #12328.
Describe the solution you'd like
Use named rstest cases and independent parameters where they improve readability:
- Parameterize selected filter, take, zip, and window tests while retaining their parameter combinations and assertions.
- Consolidate repeated coalesce, interleave, merge, nullif, and Union extraction scenarios, retaining input layouts, null handling, slicing, expected results, and error checks.
- Keep stateful sequences, including consecutive
BufferSourcerequests, together within each case. - For randomized tests split into independent cases, derive reproducible seeds from the parameters. Preserve the parameter matrix and checks; the generated samples need not be byte-for-byte identical to the previous shared RNG sequence.
- Retain existing Miri exclusions and avoid expanding combinations without a coverage reason.
The scope is tests, test helpers, and development dependencies only. No production behavior or public API changes are intended.
Describe alternatives you've considered
Keep tests unchanged where parameterization would add complexity or obscure sequential behavior. This is not a requirement to convert every test in the crate.
Additional context
Part of #12328. Selected refactors have been prepared locally. The current branch passes cargo test -p arrow-select --all-features, including 1323 unit tests and 20 documentation tests, and crate-level Clippy checks.
Willingness to contribute
I plan to contribute to this feature independently.
- 主要言語
- Rust
- スター
- 3.7k
- フォーク
- 1.5k
- 平均マージ
- 2日 16時間
- マージ済み PR(30日)
- 183
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/arrow-rs のほかの issue
-
parquet: `ArrowWriter::try_new` panics on a schema with a Union field instead of returning an errorオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
`RunArray::try_new` rejects run ends whose null buffer has no nulls対応中かも @Surajsuthar が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
apache/arrow-rs#12427 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Variant] `variant_get` string and binary cast errors show Rust builder type names再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
メンテナーはふだん 1 日以内に返信
apache/arrow-rs の issue をすべて見る
似ている issue
-
area:ui effort:medium enhancement P7 source:agent
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
machine rename accepts a label already used by another machine, making --machine <label> ambiguousオープンmaintainer-needed p2 remote triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug help wanted ui
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
userFRM/egui-charts#4605 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信