Request for cursor.executemany() mechanism to determine the failed row that is the same for SQL and PL/SQL
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 40/100
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
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
- 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 oracle/python-oracledb
-
Client Library or Database
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
oracle/python-oracledb#613 · 3 commenti ·
-
Allow Cursor.execute() to preserve leading and trailing SQL whitespace to avoid SQL_ID changesApertaenhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
oracle/python-oracledb#611 · 1 commento ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
oracle/python-oracledb#610 · 1 commento ·
-
fetch_df_batches() segfaults with fetch_decimals=True and repeated NUMBER values across batchesApertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
oracle/python-oracledb#608 · 2 commenti ·
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
oracle/python-oracledb#607 · 5 commenti ·
Tutte le issue di oracle/python-oracledb
Issue simili
-
customer-reported
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Azure/azure-cli#34150 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
community-request
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
NVIDIA-NeMo/Curator#2464 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
weblate-discover crashes with an unhandled FileNotFoundError when the directory does not existAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
WeblateOrg/translation-finder#1099 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
trezor/trezor-firmware#7997 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno