Skip to content

zsaim-ml/sfc-snowpark-accenture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning-Snowflake-Snowpark

This repository will walk you through running Snowflake Snowpark Python.

Requirements

Run application

  • Once you are logged in, head over to the top right corner and create a new worksheet Screenshot 2023-01-10 at 14 36 35
  • Inside of this repository there is file named setup.sql -> sql/setup.sql, copy the code and place it in the new worksheet and run it, at the bottom change the credentials for the account that is going to be created. Screenshot 2023-01-10 at 14 40 46
  • You can run the script by clicking the play button (top right corner), make sure you select all the scripts first.
  • Copy the locator from your account

Screenshot 2023-01-11 at 10 11 40

* FORK this repository to your own account
  • Create new environment variables in your codespace Screenshot 2023-01-10 at 14 50 42

  • Under this repository there is a file named .env you will need to replace the XXX with the locator and the password and create a variable for each of the following variables:

    • SNOWFLAKE_ACCOUNT=XXX.eu-west-3.aws
    • SNOWFLAKE_USER=SVCSNOWPARK
    • SNOWFLAKE_PASSWORD=XXX
    • SNOWFLAKE_VW=LEARNINGSNOWPARKVW
    • SNOWFLAKE_DB=LEARNINGSNOWPARKDB
  • At the end you should have some like this: Screenshot 2023-01-10 at 14 55 06

  • The last change we need to make is to change the .env files with the actual credentials, edit the file within Github

Screenshot 2023-01-11 at 10 41 02

Author

  • Enrique Fuentes - 2023-01-12

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages