Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for !source syntax in .sql files #1970

Open
sfc-gh-tjuch opened this issue Jan 3, 2025 · 0 comments
Open

Support for !source syntax in .sql files #1970

sfc-gh-tjuch opened this issue Jan 3, 2025 · 0 comments

Comments

@sfc-gh-tjuch
Copy link

Description

SnowSQL offers the !source syntax to reference other SQL files. Docs: https://docs.snowflake.com/en/user-guide/snowsql-use#source-load. Having this feature in snowflake CLI would allow for streamlined management of SQL-based processes and parity with SnowSQL functionality.

Context

Currently, I use SnowSQL to manage installation of Snowflake assets (300+) at scale using an orchestrated tree process to run through SQL files. In order to easily transition from SnowSQL to Snowflake CLI, there would need to functionality to support calling one .sql from another. Calling multiple .sql files in a single snow sql -f statement would not scale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant