ir3456 commented on issue #1283:
URL: https://github.com/apache/arrow-adbc/issues/1283#issuecomment-2073570385
I am still seeing this issue when running on machines running Ubuntu. No
problem running on Mac.
```
File
~/isaac/venv/lib/python3.10/site-packages/adbc_driver_manager/dbapi.py:1089, in
Cursor.fetch_arrow_table(self)
1084 if self._results is None:
1085 raise ProgrammingError(
1086 "Cannot fetch_arrow_table() before execute()",
1087 status_code=_lib.AdbcStatusCode.INVALID_STATE,
1088 )
-> 1089 return self._results.fetch_arrow_table()
File
~/isaac/venv/lib/python3.10/site-packages/adbc_driver_manager/dbapi.py:1198, in
_RowIterator.fetch_arrow_table(self)
1197 def fetch_arrow_table(self) -> pyarrow.Table:
-> 1198 return _blocking_call(self._reader.read_all, (), {},
self._stmt.cancel)
File
~/isaac/venv/lib/python3.10/site-packages/adbc_driver_manager/_lib.pyx:1552, in
adbc_driver_manager._lib._blocking_call_impl()
File
~/isaac/venv/lib/python3.10/site-packages/adbc_driver_manager/_lib.pyx:1545, in
adbc_driver_manager._lib._blocking_call_impl()
File
~/isaac/venv/lib/python3.10/site-packages/adbc_driver_manager/_reader.pyx:90,
in adbc_driver_manager._reader.AdbcRecordBatchReader.read_all()
File
~/isaac/venv/lib/python3.10/site-packages/adbc_driver_manager/_reader.pyx:40,
in adbc_driver_manager._reader._AdbcErrorHelper.check_error()
OperationalError: UNKNOWN: [Snowflake] arrow/ipc: unknown error while
reading: cannot allocate memory
In [3]: exit
(venv) dev@updated-backtest-5:~/isaac$ pip freeze | grep arrow
pyarrow==16.0.0
(venv) dev@updated-backtest-5:~/isaac$ pip freeze | grep adbc
adbc-driver-manager==0.11.0
adbc-driver-snowflake==0.11.0
```
I have the latest versions of pyarrow, adbc-driver-manager, and
adbc-driver-snowflake. Is there something else I should be updating?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]