Intro
Snowflake is a cloud-based analytic data warehouse system. Use Domo’s Snowflake Internal Unload Advanced Partition connector to unload data from your Snowflake database into internal Amazon S3. The files are then downloaded from internal S3 into Domo. This connector should be preferred over the other Snowflake connectors if you are executing very large queries. It allows you to chose whether or not you want to partition your data. Unlike other partition connectors, it allows you to use partitioning on non date columns. To learn more about the Snowflake API, visit their page (https://docs.snowflake.net/manuals ). You connect to your Snowflake account in the Data Center. This topic discusses the fields and menus that are specific to the Snowflake Internal Unload Advanced Partition connector user interface. General information for adding DataSets, setting update schedules, and editing DataSet information is discussed in Adding a DataSet Using a Data Connector.Best Practices
Prerequisites
To connect to your Snowflake account and create a DataSet, you must have the following:-
The full name of your account (provided by Snowflake). For US West Region
account_name, and All other regions account_name.region_id. This is the portion of your Snowflake URL immediately following https://.
Note that your full account name may include additional segments that identify the region and cloud platform where your account is hosted. The following table provides account name examples by cloud platform/region. For each row, it assumes your account name is “xy12345.”

- The client ID and client secret provided by Snowflake when the client is registered.
Connecting to Your Snowflake Account
This section enumerates the options in the Credentials and Details panes in the Snowflake Internal Unload Advanced Partition Connector page. The components of the other panes in this page, Scheduling and Name & Describe Your DataSet, are universal across most connector types and are discussed in greater length in Adding a DataSet Using a Data Connector.Credentials Pane
This pane contains fields for entering credentials to connect to your Snowflake account. The following table describes what is needed for each field:Field | Description |
|---|---|
| Account Name | Enter your Snowflake account name. For more information, see Prerequisites. |
| Client ID | Enter your Client ID (provided by Snowflake when the client is registered.) |
| Client Secret | Enter your Client secret (provided by Snowflake when the client is registered.) |
| Role | Enter your role. |
Details Pane
This pane contains a primary Reports menu, along with various other menus which may or may not appear depending on the report type you select.Menu | Description | ||||
|---|---|---|---|---|---|
Report | Select the Query Type. The following query types are available:
| ||||
| Warehouses | Select the warehouse containing the data you want to retrieve. The list populates with all of the warehouses you have access to based on your credentials. | ||||
| Databases | Select the database containing the data you want to retrieve. The list populates with all of the databases you have access to based on your credentials. | ||||
| Schemas | Select the database schema containing the data you want to retrieve. The list populates with all of the schemas you have access to based on your credentials. | ||||
| Database Objects | Select the database object. | ||||
| Tables | Select the database table you want to retrieve. The list populates with all of the tables you have access to based on your credentials. If you do not select a database table, the connector retrieves your entire database schema. | ||||
| Table Columns | Select the table columns you want to retrieve. The list populates with all of the columns you have access to based on your credentials. If you do not select a table column, the connector retrieves your entire selected database table. | ||||
| Table Query Helper | This field shows the query that is generated based on the selected fields. | ||||
| Views | Select the view. | ||||
| View Columns | Select the view columns that you would like to include in your report. | ||||
| View Query Helper | This field shows the query that is generated based on the selected fields. | ||||
| Query | Enter the SQL query to use to retrieve your data. You can use the Query Helper parameter to help you write a usable SQL query. To use the Query Helper , do the following:
| ||||
| Partition Support | Select ‘Yes’ if you want to partition your data; otherwise, select ‘No.’ | ||||
| Partition Criteria | Select whether you want to partition the data using the date keys, non date keys, or meta query. | ||||
| Partition Query to determine partition tags | Enter the partition meta query to determine the distinct partition tags (or keys). The column containing the Date data is your partition column. Example: SELECT DISTINCT(DATE_COLUMN_NAME) FROM TABLENAME | ||||
| Partition Support Format | Select the partition support format. | ||||
| Partition Column Name | Select the partition column name. | ||||
| Past Year | Enter the number of past years that you want to get data for. Value can be X, where X is a positive integer. For example: 5. | ||||
| Future Years | Enter the number of future years that you want to get data for. Value can be X, where X is a positive integer. For example:5. | ||||
| Past Months | Enter the number of past months that you want to get data for. Value can be X, where X is a positive integer. For example:5 | ||||
| Future Months | Enter the number of future months that you want to get data for. Value can be X, where X is a positive integer. For example:5. | ||||
| Past Days | Enter the number of past days that you want to get data for. Value can be X, where X is a positive integer. For example: 30. | ||||
| Date Format | Select the required date format. By default yyyy-MM-dd will be used. | ||||
| Custom Date Format | Enter the custom date format. | ||||
| Partition Non Date Key Column Name | Select the partition column name. |
Other Panes
For information about the remaining sections of the Connector interface, including how to configure scheduling, retry, and update options, see Adding a DataSet Using a Data Connector.FAQs
I am receiving an error saying, "OAuth access token expired." Why?
I am receiving an error saying, "OAuth access token expired." Why?
What kind of credentials do I need to power up this connector?
What kind of credentials do I need to power up this connector?
Are there any API limits that I need to be aware of?
Are there any API limits that I need to be aware of?
How frequently will my data update?
How frequently will my data update?
What do I need to be aware of while writing a query?
What do I need to be aware of while writing a query?
Why can't I connect to my Snowflake database? Do I need to whitelist any IP addresses?
Why can't I connect to my Snowflake database? Do I need to whitelist any IP addresses?
What's the difference between the Snowflake Internal Unload Advanced Partition and Snowflake Managed Unload connectors?
What's the difference between the Snowflake Internal Unload Advanced Partition and Snowflake Managed Unload connectors?
Troubleshooting
- Make sure your authentication remains valid.
- Review the configuration to make sure that all required items have been selected.
- Review the Connector history for error messages.
- In rare cases, you may be requesting too much information and reaching API limitations or timeouts. If this is the case, you can review the history of the Connector run to see the error message and duration. If this is the case, you can reduce the number of accounts that are being pulled, choose a smaller number of metrics for the report that you are pulling, or reduce the timeframe that you are trying to pull.