Last Updated: 2024-01-11
Snowflake is a cloud computing data platform. It specializes in cloud data warehouses for use in data analytics.
Scope of tutorial
In this tutorial, you will learn how to configure a Snowflake catalog in Starburst Galaxy.
Once you've completed this tutorial, you will be able to:
Starburst tutorials are designed to get you up and running quickly by providing bite-sized, hands-on educational resources. Each tutorial explores a single feature or topic through a series of guided, step-by-step instructions.
As you navigate through the tutorial you should follow along using your own Starburst Galaxy account. This will help consolidate the learning process by mixing theory and practice.
You're going to begin by signing in to Starburst Galaxy and setting your role to begin the process of connecting your Snowflake datasource.
This is a quick step, but an important one.
Sign into Starburst Galaxy in the usual way. If you have not already set up an account, you can do that here.
Starburst Galaxy separates users by role. Configuring a new catalog will require access to a role with appropriate privileges. Today, you'll be using the accountadmin role.
Your current role is listed in the top right-hand corner of the screen.
Adding a new Snowflake catalog follows the same process as adding other data sources in Starburst Galaxy.
The steps below will show you how to start the process of configuring a new catalog.
Create a new catalog for your Snowflake datasource.
Starburst Galaxy allows the creation of catalogs for a number of different data sources. In this case, you are going to create a new catalog in the Snowflake category.
Snowflake works with all three major cloud providers: AWS, Azure, and GCP. You will need to select which one you want to use for this catalog.
Additionally, the catalog needs both a name and description. This ensures that you can find it later.
When you connect Starburst Galaxy to a new datasource, it is necessary to undergo an authentication process. This helps ensure that you are connecting the right data source and that you have the appropriate permissions.
Now it's time to choose a connection type. There are two options:
Now it's time to connect Starburst Galaxy to your Snowflake account.
If you are connecting directly, this will involve entering your Snowflake account identifier. The identifier is the first portion of the URL in your Snowflake address, before the .snowflakecomputing.com domain.
For example, consider the following scenario
Snowflake URL: iv99999.us-east-1.snowflakecomputing.com
Snowflake account identifier: iv99999.us-east-1
Every new catalog connection includes a test before you connect it. This helps to ensure that you have input the correct credentials and allows you to quickly fix any problems before actually connecting.
You're almost there! Time to test the connection and then complete the process of creating your new Snowflake catalog.
Starburst Galaxy allows you to configure your catalog in a number of ways regarding access controls. The most important of these involves granting write access or restricting the catalog to read-only access.
Take some time to consider whether you require write access, or whether read-only access will be sufficient.
Select the appropriate read access for your situation.
The catalog is now created, but you are not able to use it until you add it to a cluster. Clusters can include many catalogs. You can either add the new Snowflake catalog to an existing cluster, or do this at a later stage.
You can add a catalog to a cluster at any time.
Congratulations! You have reached the end of this tutorial, and the end of this stage of your journey.
You're all set! Now you can query the data in your Snowflake datasource.
At Starburst, we believe in continuous learning. This tutorial provides the foundation for further training available on this platform, and you can return to it as many times as you like. Future tutorials will make use of the concepts used here.
Starburst has lots of other tutorials to help you get up and running quickly. Each one breaks down an individual problem and guides you to a solution using a step-by-step approach to learning.
Visit the Tutorials section to view the full list of tutorials and keep moving forward on your journey!