-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Polars read_database does not really respect iter_batches = True when using sqlalchemy/oracledb #15470
Comments
Ouch; I've identified the issue - will make a PR to address it shortly 👌 |
That was fast. Thank you 👊 |
No problem - fix is in the new |
I cannot get it working. I get this:
It is the same on Windows 10 and Ubuntu Linux 2022.04. My Python Anaconda environment is defined thus
/Niels |
@alexander-beedie did you see the above comment? It does not work for me. Regards Niels |
Checks
Reproducible example
Log output
No response
Issue description
The example code in principle runs, but it only returns the iterator after fetching all 1 billion rows. This results in practice in memory error. The batch processing then does not solve the memory consumption problem.
oracledb==2.0.1
Expected behavior
The same pandas code runs without using any memory, fetching as described in chunksize.
Installed versions
The text was updated successfully, but these errors were encountered: