Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Request for cursor.executemany() mechanism to determine the failed row that is the same for SQL and PL/SQL

Abierto
#612 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
40/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python, sql
Área
api, database

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

enhancement

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de oracle/python-oracledb

Todos los issues de oracle/python-oracledb

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.