Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#612 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
40/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python, sql
Ambito
api, database

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
451
Fork
118
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di oracle/python-oracledb

Tutte le issue di oracle/python-oracledb

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.