Skip to content

Commit

Permalink
Warn about using the right role to install the AT
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoizueta committed Nov 24, 2022
1 parent 19e4250 commit abd6dd1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ If you have a previously installed version of the Analytics Toolbox, you can che

To install the functions and procedures of the Analytics Toolbox in the `carto` schema of your database, replace `@@DATABASE@@` with your database in the file `modules.sql`, and run that file in Snowflake. Please note that you must execute this file's commands in the same Worksheet where you executed all the previous statements of this installation guide.

{{% bannerNote type="warning" title="WARNING" %}}
Make sure that you're using the `CARTO_ROLE` role before executing the installation script `modules.sql` (see `USE ROLE carto_role;` above). Otherwise the functions and procedures will be owned by a different role and it won't be possible to perform automatic updates of the Analytic Toolbox.
{{%/ bannerNote %}}

You can load the script into a Worksheet by using the dropdown menu on the top right and choosing "Load Script". The "All Queries" check seems to work unreliably with large scripts, so we advice to select all the text instead (just press Control-A or Command-A if using a Mac), then press the "Run" button and confirm you want to execute all the lines.

![Setup on Snowflake Classic Web Interface](/img/analytics-toolbox-snowflake/install2.png)
Expand Down

0 comments on commit abd6dd1

Please # to comment.