OCIError: ORA-01795: maximum number of expressions in a list is 1000

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
ruby, sql
領域
database

調査の方向性

Start by reproducing the Oracle error through the rom-repository combine and aggregate entry points, then inspect the subselect SQL they generate and compare it with the suggested wrap join approach. Done means identifying and documenting a supported workaround or a defined change that avoids Oracle's 1000-expression limit.

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

説明

bug help wanted oracle

We get this error often when we use combine or aggregate in a rom-repository:
OCIError: ORA-01795: maximum number of expressions in a list is 1000
I believe this is because the above methods use subselects under the hood. Another option would be to use joins (eg. with wrap) but this is not feasible in our case.

Would it be possible to override this limitation of 1000 items in a list? Alternatively, is there a workaround you could suggest for this perhaps?

Your help would be much appreciated.

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

環境構築

はじめの一歩

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

rom-rb/rom-sql のほかの issue

rom-rb/rom-sql の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

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

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