Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
koskoci opened this issue Jan 25, 2018 · 2 comments
Open

Comments

@koskoci
Copy link

koskoci commented Jan 25, 2018

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.

@koskoci
Copy link
Author

koskoci commented Jan 26, 2018

@flash-gordon
Copy link
Member

@koskoci yeah, all of them are rather ugly but we could slice ids into 1000-max lists and use multiple ORs. At the moment, I don't think there is anything except join

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants