Table of Content
Subscribe to our Newsletter
Get the latest from our team delivered to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Ready to get started?
Try It FreeOur goal at Foundational is to make it easy, predictable, and straightforward to develop code for data – which is any piece of code that might affect data throughout the data stack.
We are extremely excited to share that Foundational now supports native data quality automation for Snowflake, leveraging Snowflake’s preview release of Data Metric Functions (DMF) to automate testing and data quality validation. The new capability is also allowing Snowflake users to automate data contract enforcement for Snowflake data, using Foundational’s code analysis capabilities.
Earlier this year, Snowflake released Data Quality Monitoring–Introducing Data Metric Functions, or DMFs in short. DMFs allow users to leverage native data validation capabilities against tables and columns in Snowflake. Users can either define a set of custom rules or use a set of default ones (Called “System DMFs”) against the desired tables or columns, and Snowflake would enforce these rules in an ongoing manner.
The preview release of DMF introduces exciting new data quality capabilities to Snowflake users, including:
Snowflake users can therefore set DMFs against all or most important tables in their warehouse. However, creating hundreds or thousands of rules is extremely time consuming. Furthermore, these data validation rules need to be constantly updated with every change that is introduced to the data warehouse, for example when a change is introduced to data transformation pipelines such as dbt.
This is where the new Foundational integration comes in–Since Foundational is tracking all code changes impacting data and produces the understanding of data pipelines through data lineage and column-level dependencies, DMFs can be created automatically according to the latest version of the data pipeline, and always remain updated against the latest code commit.
Foundational is analyzing all the source code that’s defining and creating data pipelines. For example, the source code can have the following section to define a table through an SQL query:
From this SQL query snippet, we can therefore infer the following rules:
Then, using this information, we can create the appropriate DMF in Snowflake to validate these rules:
And:
Finally, we can attach these DMFs to the appropriate table, and trigger them on every row change, to make sure they are validated at real time:
To help our users and followers try out DMF, we are also excited to share that we’ve released a free online tool, called the DMF Generator. Users can leverage the free tool to try out different DMF-compatible outputs created by the Foundational engine using SQL statements as inputs.
At Foundational, we are pragmatists. We assume that organizations would always benefit from leveraging new capabilities within their existing tools, whether it’s GitHub or Snowflake. In the case of DMF, what’s exciting is that every Snowflake user can now benefit from data quality monitoring. Our goal at Foundational is to remove the initial friction, and to ensure there is minimal ongoing development efforts required to maintain and scale these mechanisms. As the data pipeline code changes, Foundational will identify these changes and suggest the required modifications to the relevant DMFs to make sure data validation is always up to date with the latest version that’s defined by the code.
If you would like to learn more about how Foundational can help you automatically generate Snowflake Data Metric Functions (DMFs) and leverage the new native support for data quality and data quality monitoring - please reach out.