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

SNOW-1841806: snowcli defaults to a warehouse called streamlit for no reason #1907

Open
sfc-gh-trichards opened this issue Dec 1, 2024 · 0 comments

Comments

@sfc-gh-trichards
Copy link
Contributor

SnowCLI version

any and all, 3.2.0

Python version

3.10

Platform

Mac

What happened

hey all, it looks like the default warehouse used for the snowcli deploying to SiS is a warehouse called STREAMLIT. Can we get this to instead be the user's default warehouse? There is no reason we would think that every user would have a warehouse called STREAMLIT. I've attached the code line that is the culprit. https://github.com/snowflakedb/snowflake-cli/blob/main/src/snowflake/cli/api/project/schemas/v1/streamlit/streamlit.py#L30

this is crucial because the first time people use the snowcli needs to be a breeze, and we basically just put in the docs asking people to get around this by always specifying a query_warehouse. Not good!

Console output

No response

How to reproduce

see the code snippet, if the query_warehouse is not specified we should use the app_warehouse, or we should use something like the user's default warehouse. anything but what we're doing now.

@github-actions github-actions bot changed the title snowcli defaults to a warehouse called streamlit for no reason SNOW-1841806: snowcli defaults to a warehouse called streamlit for no reason Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants