oxide explain's placement notes list != as implemented and say nothing about joins and aggregates left on the CPU

Aperta Adatta ai principianti
#94 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
86/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Leggi rule.rs nelle parti intorno a comparison() e ai ritorni anticipati di lower_join, lower_sort_merge_join e lower_aggregate; poi trova il test Explain che copre le note di posizionamento. Aggiorna l’elenco dei confronti e registra un motivo per saltare ciascun ritorno anticipato. Il lavoro è completo quando entrambe le query di esempio mostrano note di posizionamento accurate e il test Explain fissa tali note.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug documentation good first issue

Today — two gaps in the notes #32 added (CHANGELOG 0.2.0: "every node that was skipped and why"):

$ oxide explain --target cuda -q "SELECT id FROM t WHERE k != 3" --table t=…
placement notes (target cuda):
  FilterExec: `!=` is not one of the comparisons the device kernels implement (=, !=, <, <=, >, >=)

The message lists != although comparison() (rule.rs ~450-459) has no NotEq. And joins left on the CPU for their join type, filter or key shape print no note at all (SELECT … FROM t a LEFT JOIN t b ON … shows no "placement notes" section): the early returns in lower_join, lower_sort_merge_join and lower_aggregate return Ok(None) without self.skip(...).

Fix — drop != from the list; record a reason on every early return.

Done when — both commands print an accurate note, pinned in the explain test.

Found in the 0.3.0 review; published 0.2.0 has the same code.

Lingua principale
Rust
Stelle
1
Fork
2
Merge medio
5g 22h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di vyncint/oxidelake

Tutte le issue di vyncint/oxidelake

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.