
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
localstack-extension-snowflake
Advanced tools
LocalStack is a cloud software development framework to develop and test your Snowflake data pipelines locally.
Overview •
Install •
Quickstart •
Base Image Tags •
Releases •
Support •
License
📖 Docs •
☑️ Function coverage
LocalStack is a cloud service emulator that runs in a single container on your laptop or in your CI environment. LocalStack Snowflake emulator replicates the functionality of the real Snowflake platform, allowing you to perform operations without an internet connection or a Snowflake account. This is valuable for developing and testing Snowflake data pipelines entirely on the local machine (and in CI pipelines), enabling quick feedback cycles, and not incurring costs of using the real system.
LocalStack Snowflake emulator supports the following features:
You can use the Snowflake Docker image to run the LocalStack Snowflake emulator. The Snowflake Docker image is available on the LocalStack Docker Hub. To pull the Snowflake Docker image, execute the following command:
docker pull localstack/snowflake
You can start the Snowflake Docker container using the following methods:
Note: Before starting, ensure you have a valid
LOCALSTACK_AUTH_TOKEN
to access the LocalStack Snowflake emulator. Refer to the Auth Token guide to obtain your Auth Token and specify it in theLOCALSTACK_AUTH_TOKEN
environment variable.
localstack
CLITo start the Snowflake Docker container using the localstack
CLI, execute the following command:
export LOCALSTACK_AUTH_TOKEN=<your-auth-token>
IMAGE_NAME=localstack/snowflake localstack start
docker
CLITo start the Snowflake Docker container using the docker
CLI, execute the following command:
docker run \
--rm -it \
-p 4566:4566 \
-e LOCALSTACK_AUTH_TOKEN=${LOCALSTACK_AUTH_TOKEN:?} \
localstack/snowflake
Create a docker-compose.yml
file with the specified content:
version: "3.8"
services:
localstack:
container_name: "localstack-main"
image: localstack/snowflake
ports:
- "127.0.0.1:4566:4566"
environment:
- LOCALSTACK_AUTH_TOKEN=${LOCALSTACK_AUTH_TOKEN:?}
volumes:
- "./volume:/var/lib/localstack"
Start the Snowflake Docker container with the following command:
docker-compose up
After starting the Snowflake Docker container, you can use the Snowflake Python Connector to interact with the LocalStack Snowflake emulator. The following example demonstrates how to create a Snowflake table using the Snowflake Python Connector:
connection = snowflake.connector.connect(
user="test",
password="test",
account="test",
database="test",
host="snowflake.localhost.localstack.cloud",
)
connection.cursor().execute("CREATE TABLE table1(col1 INT)")
Check out our documentation for more examples and guides.
We currently push the latest
tag as our default tag. This tag is fully tested using our extensive integration test suite. This tag should be used if you want to stay up-to-date with the latest changes.
Please refer to our changelog page to see the complete list of changes for each release.
Get in touch with the LocalStack Team to report issues & request new features, on the following channels:
(c) 2024 LocalStack
FAQs
LocalStack Extension: Snowflake
We found that localstack-extension-snowflake demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.