Snowflake-Labs / sfquickstarts

Follow along with our tutorials to get you up and running with the Snowflake Data Cloud.
Apache License 2.0
332 stars 628 forks source link

Need more guidance on connection details or next step fails #1402

Open sfc-gh-sweingartner opened 3 months ago

sfc-gh-sweingartner commented 3 months ago

Describe the bug A clear and concise description of what the bug is. Step 2 tells you to fill in the connections details as : "account": "", "user": "", "password": "", "role": "ACCOUNTADMIN", "database": "IMDB", "schema": "PUBLIC", "warehouse": "DEMO_WH" You will hit an error on Step 3 in the streamlit app, it's unable to connect

URL of where you see the bug https://quickstarts.snowflake.com/guide/end_to_end_nlp_and_ml_using_snowpark_python_and_streamlit:_sentiments_analysis/index.html?index=..%2F..index#2

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error Follow the steps in the lab. In the streamlit app, click on the setup tab and then you will see an error message.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here. The connection details assume you have a database already created as IMDB. It assumes you already have a warehouse named DEMO_WH. But the lab never told you to create those first. So, you get an error.
Additionally, it's confusing what to put in for the connection as the lab doesn't support the modern orgname-accountname syntax. Unintuitively, the users must use the older accountname-region syntax. They should be advised how to form this account. (i.e. copy the URL of your account and then cut off the http and the tail part)