Python UDF is not executed in parallel
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
Direzione di ricerca
Start with the Python UDF registration and execution path, focusing on how the side_effects setting affects parallel execution. Reproduce the query from the issue with a UDF registered using side_effects=False, then trace the relevant implementation and tests. Done means independent row-wise UDF calls can run in parallel while side-effecting UDF behavior remains correct.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens?
When using Python UDFs the code-path is not executed in parallel. I presume this limitation does not have to be applied when side_effects=False applies.
To Reproduce
SELECT embedding(object, 'ScheduledStopPoint') AS o FROM ScheduledStopPoint;
Since embedding does apply to each individual row, I don't see why this UDF cannot be executed in parallel, there is no interdependency.
OS:
Linux
DuckDB Version:
1.0.1
DuckDB Client:
Python
Hardware:
amd64
Full Name:
Stefan de Konink
Affiliation:
Stichting OpenGeo
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a nightly build
Did you include all relevant data sets for reproducing the issue?
Not applicable - the reproduction does not require a data set
Did you include all code required to reproduce the issue?
- Yes, I have
Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?
- Yes, I have
- Lingua principale
- Python
- Stelle
- 206
- Fork
- 126
- Merge medio
- 20h 18m
- PR unite (30g)
- 36
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 duckdb/duckdb-python
-
needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
duckdb/duckdb-python#752 ·
I maintainer di solito rispondono entro 1 giorno
-
`read_json` accepts a list of paths at runtime but the type stub only allows a single path.Forse già presa @aleks-drozy l’ha presa 118 giorni fa. Apertaneeds triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
duckdb/duckdb-python#576 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Missing ROW_GROUPS_PER_FILE argument in write_parquet functionForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaneeds triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
duckdb/duckdb-python#386 ·
I maintainer di solito rispondono entro 1 giorno
-
import duckdb fails with 'Encountered an error while initializing the extension' when sys.modules has no __main__ (DetectEnvironment imports __main__ unconditionally)Forse già presa @chouaibmouidis-py l’ha presa 2 giorni fa. Aperta
Difficoltà 3/5 Mezza giornata Idoneità per principianti 68/100
duckdb/duckdb-python#795 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
duckdb/duckdb-python#789 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di duckdb/duckdb-python
Issue simili
-
hr greet 平台明确拒绝后永久残留 pendingAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
can4hou6joeng4/boss-agent-cli#3290 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
vllm-project/vllm#70568 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
exa-studio/ApiVault#338 ·
-
perf: the model list request spends over a third of its time converting data that is already JSONApertabug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
open-webui/open-webui#35211 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno