Skip to main content

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.4: Add logic to parse and replace DB references in queries
  • 0.1.3: Add DBEngine abstraction, experimental support for duckdb; enhance support for JSON queries
  • 0.1.2: Add logic to ingest a CSV file from a Snowflake stage into a table
  • 0.1.1: Initial support for Kafka connector and snowpipe/streaming APIs
  • 0.1.0: Initial release of the extension

License

(c) 2023 LocalStack

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

localstack-extension-snowflake-0.1.4.tar.gz (13.1 kB view details)

Uploaded Source

File details

Details for the file localstack-extension-snowflake-0.1.4.tar.gz.

File metadata

File hashes

Hashes for localstack-extension-snowflake-0.1.4.tar.gz
Algorithm Hash digest
SHA256 8b0521fe5d54004b425e99f177931ee8f5bdf33071730cffac45eca76b16b9e5
MD5 dc4872c74a11713ff4f039f588983348
BLAKE2b-256 305d9a8dff4ac3979b3f24cf05b3bc26dfdd060eb68a11562b4908a896e71ede

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page