Python UDF is not executed in parallel
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 206
- Forks
- 126
- Merge medio
- 20 h 18 min
- PR fusionados (30 d)
- 36
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de duckdb/duckdb-python
-
query_graph fails with duckdb 2Abiertoneeds triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
duckdb/duckdb-python#752 ·
Los mantenedores suelen responder en 1 día
-
`read_json` accepts a list of paths at runtime but the type stub only allows a single path.Posiblemente ocupada @aleks-drozy la tomó hace 118 días. Abiertoneeds triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
duckdb/duckdb-python#576 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Missing ROW_GROUPS_PER_FILE argument in write_parquet functionPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoneeds triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
duckdb/duckdb-python#386 ·
Los mantenedores suelen responder en 1 día
-
import duckdb fails with 'Encountered an error while initializing the extension' when sys.modules has no __main__ (DetectEnvironment imports __main__ unconditionally)Posiblemente ocupada @chouaibmouidis-py la tomó hace 2 días. Abierto
Dificultad 3/5 Medio día Aptitud para principiantes 68/100
duckdb/duckdb-python#795 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
duckdb/duckdb-python#789 ·
Los mantenedores suelen responder en 1 día
Todos los issues de duckdb/duckdb-python
Issues similares
-
Live benchmark rejects an auth.json that has extra token keys, and the reason is never printedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
GanyuanRan/Aegis#112 ·
-
defect from-review
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
khuisman/mcp-gee-sweet#1669 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
marimo-team/marimo#12153 ·
Los mantenedores suelen responder en 1 día
-
hr greet 平台明确拒绝后永久残留 pendingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
can4hou6joeng4/boss-agent-cli#3290 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día