Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#612 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
40/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python, sql
領域
api, database

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
451
フォーク
118
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

oracle/python-oracledb のほかの issue

oracle/python-oracledb の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。