See how Snowflake UDFs power your data pipelines
As a data engineer or governance leader, you'll want visibility into Snowflake user-defined functions (UDFs) because it helps you trace how business logic flows through your pipelines.
You can now discover and govern UDFs as first-class assets in Atlan, with clear relationships to Process assets for lineage tracking. Previously, UDF logic was embedded inside queries and stored procedures with limited visibility in the catalog. Now, UDFs are represented as assets and connected to the Process nodes that execute them.
This means the logic behind your KPIs, masking rules, and reusable transformations is no longer hidden inside code, you can see where it’s used and how it contributes to downstream assets.
✨ Let’s dig deeper
Snowflake Stored Procedures and UDFs work together with Process assets to generate lineage in Atlan.
Here’s what that means in practice:
- UDFs and Stored Procedures are surfaced as assets in your Snowflake connection
- When they’re invoked inside a query, they’re linked to the corresponding Process asset
- You can view which Process assets use a specific UDF or Stored Procedure
- In lineage graphs, you can inspect the Process node to see contributing UDFs and Stored Procedures
- Lineage captures direct calls, dynamic queries and nested calls are not yet supported
For example, if a query calls udtf_complex_dot_star the executed query appears as a Process asset. That Process node shows the relationship to the UDF, helping you understand how transformation logic contributes to downstream tables or dashboards.
This keeps lineage compact and execution-focused, while still exposing the procedural and functional logic behind your data flows.
👏 Give it a shot
To explore UDF and Stored Procedure relationships:
- Go to your Snowflake connection and open a UDF or Stored Procedure asset.
- Navigate to the Related Assets tab to see the Process assets where it’s used or open the lineage graph for any downstream asset.
- Click the Process node representing the executed query.
- In the sidebar, open the Relations tab to view contributing UDFs and Stored Procedures.
Make sure your Snowflake connector has the required metadata access and that lineage extraction is enabled.
📘 Refer to the Snowflake setup guide for required permissions and supported lineage scenarios.