79197196

Date: 2024-11-17 12:41:04
Score: 0.5
Natty:
Report link

this is what i wrote to myself with regards to snowflake native apps, for future maybe it will be helpful for you

  1. you're supposed to use snowflakecli ( not snowsql ) the command for snowflake cli is "snow" rather than "snowsql" that is used above, not confusing at all right?
  2. for "snow" to work you have to install it and use it in windows in command prompt started as admin
  3. once it's working you have configure it, the way to do this is
  4. issue $ snow connection list
  5. go to the connection file it lists
  6. add your configs in the .toml file the same way other look like ( all see my config below )
  7. issue snow connection set-default (myconnection)
  8. test it by running snow sql --query "select 'this is not painful at all snowflake team' as is_it_painful "
  9. now you should be able to issue snow app run as the walkthrough tells you to do

connection.toml file

["myconnection"]
name = "your_cute_name_not_the_same_as_myconnection_above_which_is_the_real_name"
account = "dagass-graawa"
user = "MAGA47"
authenticator = "snowflake"
password = "will_not_tell_you"
Reasons:
  • Blacklisted phrase (1): regards
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: pawelek69420