You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<path_to_site_packages>\site-packages\turbodbc\cursor.py", line 346, in fetchallarrow
).fetch_all()
^^^^^^^^^^^
turbodbc_intern.InterfaceError: Fetching Arrow result set failed.
I understand that 32GBs is not a lot of memory for this operation, but that is not really my problem. I am able to successfully read in the entire table piecemeal, i.e., by reading in half the columns in one fetchallarrow invocation and the other half using another fetchallarrow invocation.
So my questions are:
I don't understand why this error is being raised only when I try to read-in/fetch all the columns at once. Memory could be an issue, but how am I able to read-in the entire table piecemeal? (I am new to arrow and turbodbc and arrow so I might be missing something very basic here)
Is there a way to get more detailed/specific error description? I suspect that memory may be the issue, but Fetching Arrow result set failed seems to be a very generic error message.
Remedies I have tried:
set the environment variable TURBODBC_LOGGING=DEBUG to see if I got a larger stack trace, but it did not change the trace.
I've tried reading in one column at a time to see if one of the columns' was causing a problem, but I was able to fetch the individual columns without any errors. As explained above, I was able to fetch the entire table piecemeal as well.
I successfully fetched a limited number of rows (first 80 to 100 rows) with all the columns.
Let me know if more information is needed!
Thank You!
The text was updated successfully, but these errors were encountered:
I'm working with
turbodbc version 1.5.2
python version 3.11.8
Oracle SQL
Turbodbc Installation was done using conda, not pip.
When I tried to read in a large table with ~3 million rows and 27 columns, in a Windows system with 32GBs of memory by using the following code:
I got the following error for the last line:
I understand that 32GBs is not a lot of memory for this operation, but that is not really my problem. I am able to successfully read in the entire table piecemeal, i.e., by reading in half the columns in one fetchallarrow invocation and the other half using another fetchallarrow invocation.
So my questions are:
Fetching Arrow result set failed
seems to be a very generic error message.Remedies I have tried:
TURBODBC_LOGGING=DEBUG
to see if I got a larger stack trace, but it did not change the trace.Let me know if more information is needed!
Thank You!
The text was updated successfully, but these errors were encountered: