LocalStack Extension: Snowflake
Project description
LocalStack Snowflake Extension
This LocalStack extension provides basic emulation of the Snowflake API.
⚠️ Please note that this extension is experimental and still under development.
Prerequisites
- LocalStack Pro
- Docker
- Python
Installation
Before installing the extension, make sure you're logged into LocalStack. If not, log in using the following command:
localstack login
You can then install this extension using the following command:
localstack extensions install localstack-extension-snowflake
Usage
Once the extension is installed, configure your Snowflake client connector to point to the API endpoint https://snowflake.localhost.localstack.cloud
. For example, when using the Snowflake Python connector:
client = snowflake.connector.connect(
user="test",
password="test",
account="test",
host="snowflake.localhost.localstack.cloud",
)
client.cursor().execute("...")
Change Log
0.1.6
: Introduce session state to retain DB/schema across queries; support async queries andresult_scan(..)
0.1.5
: Enhance parity aroundDESCRIBE TABLE
results; supportMIN_BY
/MAX_BY
aggregate functions0.1.4
: Add logic to parse and replace DB references in queries0.1.3
: Add DBEngine abstraction, experimental support for duckdb; enhance support for JSON queries0.1.2
: Add logic to ingest a CSV file from a Snowflake stage into a table0.1.1
: Initial support for Kafka connector and snowpipe/streaming APIs0.1.0
: Initial release of the extension
License
(c) 2023 LocalStack
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for localstack-extension-snowflake-0.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bf7052634853de54291ef3976708a7270080d8ee475dc217ef0ed4a9ff6e43a |
|
MD5 | 0d7945e849ce82b0953c2b047fafd61e |
|
BLAKE2b-256 | b2af76c42b6e88c5c7fb65325b7a3dc4e95769303ea6e5b453a7296e7f2721d1 |