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

Google Colab and Arrow support? #279

Open
gabomgp4 opened this issue Oct 3, 2020 · 1 comment
Open

Google Colab and Arrow support? #279

gabomgp4 opened this issue Oct 3, 2020 · 1 comment

Comments

@gabomgp4
Copy link

gabomgp4 commented Oct 3, 2020

Thanks for this great project,

I'm trying to use turbodbc to extract data from postgresql and to parquet files. My problem is with the function fetcharrowbatches. In gogle colab, when trying to use that function, the next error is shown:

Error: This installation of turbodbc does not support Apache Arrow extensions. Please install the `pyarrow` package. If you have built turbodbc from source, you may also need to reinstall turbodbc to compile the extensions.

I'm installing turbodbc with this code:

!apt update && apt install -y build-essential libboost-all-dev unixodbc-dev python-dev odbc-postgresql 
!pip install pyarrow pybind11 
!pip install turbodbc

The installation doesn't show errors. So, is integration with pyarrow supported inside Google Colab enviroment?

@xhochy
Copy link
Collaborator

xhochy commented Oct 5, 2020

Can you post the output of the pip install commands? preferably with -vvv so that we see all build logs.

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

No branches or pull requests

2 participants