Trying Processing Snowflake Data Using In-DB Tools in Alteryx Designer Desktop

Trying Processing Snowflake Data Using In-DB Tools in Alteryx Designer Desktop

2025.08.26

I'm Sagara.

I've tried processing Snowflake data using Alteryx Designer Desktop's In-DB tools, so I'll summarize what I did.

Test Environment

  • OS: Windows 11 64bit
  • Alteryx Designer Desktop: 2025.1

Installing and Setting Up the ODBC Driver for Snowflake

First, I installed and set up the ODBC driver for Snowflake.

Installing the ODBC Driver

To connect from Alteryx Designer Desktop, I installed the ODBC driver for Snowflake. I used the official ODBC driver provided by Snowflake.

I downloaded the latest driver from the following link:

https://www.snowflake.com/en/developers/downloads/odbc/

2025-08-26_10h59_02

After launching and installing the downloaded msi file, if it displays as shown below, that's OK.

2025-08-26_11h03_19

Setting Up the ODBC Driver

Launch the ODBC Data Source Administrator (64-bit).

2025-08-26_11h24_40

Click 'Add' in the 'System DSN'.

2025-08-26_11h25_44

Select 'SnowflakeDSIIDriver' and click 'Finish'.

2025-08-26_11h27_15

Enter the information required for connecting to Snowflake, and press 'Test'. If it displays as shown below, it means the connection is successful. Finally, press 'OK' to complete the setup.

2025-08-26_11h31_34## Connection Setup with Snowflake

We will set up a connection with Snowflake. Click on File from the top left, then press Manage Connections.

2025-08-26_09h28_49

Press + New in the top right.

2025-08-26_09h31_03

Select Snowflake.

2025-08-26_09h31_31

Select Snowflake ODBC for Technology, click on the ODBC DSN field, select the system DSN name you created earlier, and press Save in the top right.

2025-08-26_11h50_41

After saving, scroll down on the same screen and press + Connect Credentials.

2025-08-26_09h36_32

Then, enter the authentication information to use for the connection, and press Test Connection in the top right. If there are no issues, press Create/Link in the top right.

2025-08-26_11h52_00

Displaying In-DB Tools

By default, In-DB tools are hidden, so check In-Database from the tool palette settings to display them.

2025-08-26_09h24_50

2025-08-26_09h26_35## Connecting to Snowflake using "In-DB Connection"

Select the "In-DB Connection" tool from the "In-Database" and drop it.

2025-08-26_13h25_01

With the "In-DB Connection" tool selected, click on the "▼" next to "Connection Name" and then press "Manage Connections".

2025-08-26_13h26_03

Change the "Data Source" to "Snowflake" and press "New".

2025-08-26_13h27_34

Enter any name in the "Connection Name" field and press "Connection Setup".

2025-08-26_13h28_34

Select the previously created Snowflake connection and press "Connect" next to the created credential.

2025-08-26_13h30_59

2025-08-26_13h30_39

Next, move to the "Write" tab settings. Select "Same as Read Driver".

2025-08-26_13h33_07

Finally, press "Apply" and then "OK".

2025-08-26_13h32_03

After that, a screen will appear where you can select tables or write queries as shown in the image below.

This time, select the table you want to use from the "Tables" tab and press "OK".

2025-08-26_13h35_21

After this, when the selected table is displayed as shown below, you have completed the table selection.

2025-08-26_13h36_23## Creating Workflows Using Tools Like "Aggregate In-DB" and "Join In-DB"

Now, we will perform the actual processing we want to create.

I'll skip the detailed explanation, but I've added another table and created a workflow as shown in the diagram below.

  • Aggregate In-DB

2025-08-26_13h43_54

  • Join In-DB

2025-08-26_13h45_08

Using "Browse In-DB" to Check Intermediate Data Results

Alteryx Designer Desktop's In-DB toolkit includes a tool called Browse In-DB which not only allows you to check intermediate data results in your workflow but also lets you see what queries are being executed on Snowflake.

Drop the Browse In-DB tool as shown in the diagram below, connect it to the Aggregate In-DB tool, and press Run Selected Tool.

2025-08-26_13h49_56

As a result, you can check not only the list of output records but also the distribution of data in each column as shown below.

2025-08-26_13h52_14

When looking at the QUERY_HISTORY in Snowflake, you can see that SELECT statements separated by WITH clauses are executed for each tool.

			
			WITH "Tool1_91c6" AS (SELECT * FROM "RAW"."JAFFLE_SHOP"."ORDERS"), "Tool2_6eda" AS (SELECT "USER_ID", MAX("ORDER_DATE") AS "LAST_ORDER_DATE", COUNT(*) AS "TOTAL_ORDER_COUNT" FROM "Tool1_91c6" GROUP BY "USER_ID") SELECT * FROM "Tool2_6eda" LIMIT 100

		

2025-08-26_13h55_49## Output Data as a Snowflake Table Using "Output Data In-DB"

Finally, we will output the data transformed through the workflow as a table in Snowflake using the Output Data In-DB tool.

Drop the Output Data In-DB tool and enter the name of the destination table in the settings on the left. If you enter something like ALTERYX.PUBLIC.CUSTOMERS_SUMMARY, you can output to a different database or schema.

2025-08-26_14h18_56

After completing these settings, press Run in the upper right to execute the entire workflow.

2025-08-26_14h21_57

When the execution completes successfully, you can see that the table has been created in Snowflake.

2025-08-26_14h22_51

Looking at the QUERY_HISTORY in Snowflake, we can see that a CTAS statement was executed based on SELECT statements separated by WITH clauses for each tool.

2025-08-26_14h24_01

In Conclusion

We processed Snowflake data using the In-DB tools of Alteryx Designer Desktop and created a table.

I felt that the way Snowflake queries are generated with WITH clauses for each tool makes the SQL highly readable!

Share this article

FacebookHatena blogX

Related articles