Request for cursor.executemany() mechanism to determine the failed row that is the same for SQL and PL/SQL
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 40/100
Línea de trabajo
Start at cursor.executemany() and compare how failed-row information is exposed for SQL statements through cursor.rowcount versus PL/SQL blocks through _Error.offset. Define a single mechanism that works for both execution types, with completion demonstrated by reliably identifying the failed row without the caller first determining whether SQL or PL/SQL was executed.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
When cursor.executemany() is called and fails, requesting for a way to determine which row failed that uses the same mechanism for SQL and PL/SQL blocks. Currently for SQL cursor.rowcount will work, while for PL/SQL _Error.offset should be used. If I have a generic method which calls cursor.executemany() I would need to know whether PL/SQL or SQL has been executed in order to find the failed row. It would be really nice to have one mechanism to get the failed row like existed in cx_Oracle with use of cursor,rowcount.
- Lenguaje dominante
- Python
- Estrellas
- 451
- Forks
- 118
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
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 oracle/python-oracledb
-
Client Library or Database
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
oracle/python-oracledb#613 · 3 comentarios ·
-
Allow Cursor.execute() to preserve leading and trailing SQL whitespace to avoid SQL_ID changesAbiertoenhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
oracle/python-oracledb#611 · 1 comentario ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
oracle/python-oracledb#610 · 1 comentario ·
-
fetch_df_batches() segfaults with fetch_decimals=True and repeated NUMBER values across batchesAbiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
oracle/python-oracledb#608 · 2 comentarios ·
-
bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
oracle/python-oracledb#607 · 5 comentarios ·
Todos los issues de oracle/python-oracledb
Issues similares
-
customer-reported
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Azure/azure-cli#34150 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
community-request
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
NVIDIA-NeMo/Curator#2464 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
weblate-discover crashes with an unhandled FileNotFoundError when the directory does not existAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
WeblateOrg/translation-finder#1099 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
trezor/trezor-firmware#7997 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día