nd: replace the cell selection with a four-state selection lattice
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- data-engineering
Direzione di ricerca
Start with nd/batch.rs and read how with_selection, num_rows, and materialize handle the current selection. Then trace the BroadcastMap gather path and the filter and consumer entry points to see how selection states flow through the batch. Done means tests cover each state and transitions, and a one-axis filter returns AxisIndices so the batch reports itself as a rectangle.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Part of #442. Phase 1. Shape: both. Effort: L (3 to 4 weeks).
Keystone: most other sub-issues depend on this issue.
Why
NdRecordBatch::selection holds one flat list of kept cell indices.
After a filter, the batch is not a rectangle.
Only NdBroadcastExec can consume this form.
No reduce, sink, or coarsen node can follow a filter.
What
Add a selection type with four states. Order the states from coarse to fine.
Full keep all cells
AxisIndices keep an index set for each axis; the result is a rectangle
Ragged keep a valid length for each outer index; profile files need this state
CellMask keep an explicit cell set; only a broadcast consumes this state
A filter returns the coarsest state that holds its result.
Each consumer declares the finest state that it accepts.
Tasks
- Add the selection enum to
nd/batch.rs. - Port
with_selection,num_rows, andmaterializeto the new type. - Fuse
AxisIndicesinto theBroadcastMapgather. - Keep the current gather path for
CellMask. - Test each state and each state change.
Done when
A one-axis filter returns AxisIndices.
The batch after the filter reports itself as a rectangle.
- Lingua principale
- Rust
- Stelle
- 16
- Fork
- 4
- Merge medio
- 19h 58m
- PR unite (30g)
- 39
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di maris-development/beacon
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
maris-development/beacon#704 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
maris-development/beacon#681 ·
I maintainer di solito rispondono entro 1 giorno
-
bug effort-S python
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
maris-development/beacon#494 ·
I maintainer di solito rispondono entro 1 giorno
-
bug effort-S tooling
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
maris-development/beacon#493 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
maris-development/beacon#687 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di maris-development/beacon
Issue simili
-
autofix:working
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
libracoder/kiri#1138 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
roc-lang/basic-webserver#277 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
samkerrcode/opengent#113 ·
I maintainer di solito rispondono entro 1 giorno
-
app bug session
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno