-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
FR: add Snowflake adapter #383
Comments
Yes, for sure. Any interest in contributing it? Otherwise I may get to it in a while, after a few other features and an odbc adapter. Happy to help you if you want to write it |
It would be awesome to implement this as an ADBC adapter. Snowflake has support and there is an Arrow Snowflake driver https://arrow.apache.org/adbc/0.5.1/driver/snowflake.html |
Agreed that Arrow is the way to go. Harlequin's data table is backed by arrow, so results returned as arrow tables will load faster. Snowflake connector 2.2+ also lets you fetch results as arrow with fetch_arrow_all. |
Ive started working on one here: https://github.com/rymurr/harlequin-snowflake Basics are workign but the catalog is very slow. |
@rupurt I have implemented an ADBC adapter here and I got it to work with my Snowflake account but it appears others are having issues. I can't seem to reproduce on my end so would love some more people to test it out. I've tired adding to Harlequin pyproject.toml as an extra but the ADBC adapter requires python 3.9 or greater so it wouldn't let me. I also just haven't gotten around to contributing to the docs yet. |
@TylerHillery you can add a python version constraint to the extra dependency, like this: harlequin-adbc = { version = "^0.1", python = ">=3.9.0", optional = true } However, I tried that just now, and there is a dependency issue with PyArrow versions;
I think if you can loosen your dependency to pyarrow >= 14, then we should be good to go. |
Sounds good I should have some time next week to submit a PR |
Just FYI, I'm cleaning up some dependabot stuff and merged a couple other changes, so please be sure to rebase onto the latest |
Hi @tconbeer! Just started playing with Harlquin; seems very cool.
In addition to DuckDB, we also use Snowflake. Any chance we'll see an adapter for it?
Thanks!
The text was updated successfully, but these errors were encountered: