Install and load
Run these commands in a Haybarn SQL session. The extension is available from the community repository.
INSTALL snowflake FROM community;
LOAD snowflake FROM community;
Try it in a temporary SQL session with snowflake already loaded. Queries run in this tab; examples using files or services need their own setup.
Using upstream DuckDB? Follow the maintainer’s installation instructions.
Usage example
Create a Snowflake secret with password authentication
-- Install and load the extension
-- Create a Snowflake secret with password authentication
CREATE SECRET my_snowflake (
TYPE snowflake,
ACCOUNT 'your-account',
USER 'your-username',
PASSWORD 'your-password',
DATABASE 'your-database'
);
-- Query Snowflake data using pass-through query function
SELECT * FROM snowflake_query(
'SELECT * FROM customers WHERE state = ''CA''',
'my_snowflake'
);
-- Attach Snowflake database for direct SQL access
ATTACH '' AS sf (TYPE snowflake, SECRET my_snowflake, READ_ONLY);
SELECT * FROM sf.schema.customers WHERE state = 'CA';
Provided by iqea-ai. Not yet verified on Haybarn 2.0.0.
Sample data & setupAbout this extension
This community-maintained extension allows DuckDB to connect to Snowflake using Arrow ADBC drivers. It provides seamless connectivity between DuckDB and Snowflake, supporting multiple authentication methods (password, key pair, OAuth, external browser/SSO, Okta), predicate pushdown optimization, and comprehensive SQL operations.
Prerequisites: The ADBC Snowflake driver must be installed separately (dbc install snowflake or the repository's installer script). See the ADBC Driver Installation Guide for complete setup instructions. For comprehensive usage examples, authentication methods, and advanced features, visit the extension repository.
Project overview from the community descriptor.
Documentation and resources
Project and build details
- Repository
- iqea-ai/duckdb-snowflake
- License
- MIT
- Maintainers
- venkata-chikkam, iqea-ai
- Written in
- C++
- Build source
2f9048cc2aa1- Build definition
- Community descriptor