Reservoir Sampling's sample size accepts a value below 1
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
- 75/100
Direzione di ricerca
Trova la dichiarazione dello schema di Reservoir Sampling e individua la proprietà k. Leggi come le proprietà Limit e Offset delle scansioni dei file dichiarano il valore minimo nella modifica indicata da #8514, quindi applica lo stesso limite dello schema a k. Controlla la pagina di riferimento dell’operatore e conferma che il modulo rifiuta i valori inferiori a 1 e che il valore predefinito è indicato come non specificato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Task Summary
Reservoir Sampling's one property, the sample size k ("Number of item sampled in reservoir sampling"), has no lower bound in its schema. So the property editor accepts 0 or a negative number and enables Run.
A sample size below 1 is never valid. The engine refuses it at the first row, but a refused row pauses the worker rather than failing the run, so Reservoir Sampling stays Running until the run is killed. A new operator starts with k empty, and the required check already blocks Run; it is a typed 0 or a negative number that gets through.
Declaring minimum: 1 on k (@JsonSchemaInject(json = """{"minimum": 1}"""), as #8514 did for the file scans' Limit and Offset) makes the form refuse the value. The editor then shows "Invalid Workflow" instead of starting a run that hangs. A k from the API, an imported workflow or a loop variable still reaches the engine, whose refusal covers it. The operator's reference page lists the default as 0, which the schema doesn't declare; it becomes "-" with "(min: 1)".
This is a bound on the form; no operator's behaviour changes.
Found while verifying the fix for #9503.
Task Type
- Refactor / Cleanup
- DevOps / Deployment / CI
- Testing / QA
- Documentation
- Performance
- Other
- Lingua principale
- Scala
- Stelle
- 333
- Fork
- 202
- Merge medio
- 3g 11h
- PR unite (30g)
- 185
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la 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 apache/texera
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
addOperator returns an error but still adds the operatorForse già presa @sunny-kavixo l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/texera#9121 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Failed tool calls are marked as succeeded (isError is always false)Forse già presa @oliarmak-web l’ha presa 14 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
apache/texera#9120 · 8 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
apache/texera#8682 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
JSONL File Scan reads a JSON null as the text "null"Forse già presa @CaroFernando l’ha presa 48 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
apache/texera#8674 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apache/texera
Issue simili
-
? - Needs Triage bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
NVIDIA/cudf-spark#16937 ·
I maintainer di solito rispondono entro 1 giorno
-
LFST not-issued-store count truncation can incorrectly clear strictShouldWaitForse già presa @weidingliu l’ha presa oggi. Apertamodule: memory type: bug/reported
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
OpenXiangShan/XiangShan#6974 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 3 giorni
-
bug indigo
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
PurpleKingdomGames/indigoengine#300 · 1 commento ·
-
JavaReservoirSampleOperator returns the whole input when the dataset size is unknownForse già presa @sasmith-14 l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
apache/wayang#884 · 3 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
AI Generated CI/CD ⚒️ Flaky-tests 🐦 python 🐍
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
valkey-io/valkey-glide#7722 ·
I maintainer di solito rispondono entro 1 giorno