Dask + Snowflake intergration
Project description
Dask-Snowflake
This connector is in an early experimental/testing phase.
Reach out to us if you are interested in trying it out!
Installation
dask-snowflake
can be installed with pip
:
pip install dask-snowflake
or with conda
:
conda install -c conda-forge dask-snowflake
Usage
dask-snowflake
provides read_snowflake
and to_snowflake
methods
for parallel IO from Snowflake with Dask.
>>> from dask_snowflake import read_snowflake
>>> example_query = '''
... SELECT *
... FROM SNOWFLAKE_SAMPLE_DATA.TPCH_SF1.CUSTOMER;
... '''
>>> ddf = read_snowflake(
... query=example_query,
... connection_kwargs={
... "user": "...",
... "password": "...",
... "account": "...",
... },
... )
>>> from dask_snowflake import to_snowflake
>>> to_snowflake(
... ddf,
... name="my_table",
... connection_kwargs={
... "user": "...",
... "password": "...",
... "account": "...",
... },
... )
See their docstrings for further API information.
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dask-snowflake-0.1.0.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for dask_snowflake-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b551533a6671b30aba9047a921aef6f4af891c756730f803c95ee94dff9253a0 |
|
MD5 | 3f754a9df7841028e692a34366b8f3e7 |
|
BLAKE2b-256 | d7c3f1428dbd84e607f65fa3d49033e6032e4e564d74002ab6a8edc3cd614310 |