โ04-03-2023 03:58 PM
Last week, I started running a DLT pipeline with expectations that dropped rows on streaming live tables. In the side bar for a table, I saw a nice circular chart with Written/Dropped rows and Failed records stats.
Today, I ran a similar DLT pipeline with expectations and I am not seeing those stats. I am running with an Advanced DLT cluster. It is solid for ~10 minutes. I checked and some rows are being dropped because my main silver table is 20% smaller than the corresponding bronze table that serves as its data source. I wiped that database as a double check.
Where did that awesome data quality chart/data go?
Is there a setting or requirement for data quality that I am missing?
I have the docs (https://docs.databricks.com/delta-live-tables/expectations.htm) but I am not seeing anything special that I am missing.
โ04-04-2023 06:38 PM
@Kevin Rossiโ :
The circular chart with Written/Dropped rows and Failed records stats that you saw in the sidebar of a table in Delta Live Tables (DLT) is a built-in feature called "Data Quality Metrics" that provides a visual representation of the data quality of a table. However, there are some conditions that need to be met for this feature to be available and visible:
If you have met all these conditions and are still not seeing the data quality metrics in the sidebar of the table, you may want to check if there are any issues with your expectations or if there are any errors in the expectation validation process. You can also check the DLT logs for any relevant information. I
โ04-04-2023 06:38 PM
@Kevin Rossiโ :
The circular chart with Written/Dropped rows and Failed records stats that you saw in the sidebar of a table in Delta Live Tables (DLT) is a built-in feature called "Data Quality Metrics" that provides a visual representation of the data quality of a table. However, there are some conditions that need to be met for this feature to be available and visible:
If you have met all these conditions and are still not seeing the data quality metrics in the sidebar of the table, you may want to check if there are any issues with your expectations or if there are any errors in the expectation validation process. You can also check the DLT logs for any relevant information. I
โ04-04-2023 06:43 PM
Thanks again. I am in SQL. So, I understand that there is no need to call validate_expectations(). I will troubleshoot with those tips and report back.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group