โ02-19-2024 08:21 AM
I was trying the new lakehouse monitoring feature for one of my unity tables, and when I create a monitoring dashboard for my table, the 2 metric tables({output_schema}.{table_name}_profile_metrics and {output_schema}.{table_name}_drift_metrics) are not getting created automatically in the specified path. Am i doing something wrong?
Steps followed:
1.Made sure I was the owner of the table
2.Clicked on the quality tab and get started
3.Chose snapshot profile as Profile type
4.Schedule: Refresh manually
5.Metric tables schema name: catalog_name.output_schema_name, output_schema_name was different from where my table was, but catalog was identical
6.Create dashboard
After this i noticed the 2 metric tables were not created automatically and the dashboard could not be created as these metric tables were missing from the specified path
โ02-19-2024 11:58 PM
Hi @yatharth,
1. Ownership and Permissions:
Schema Names:
output_schema_name
for the metric tables was different from where your table is. Ensure that the specified schema exists and is accessible.Catalog Name:
Metric Table Creation:
Custom Metrics:
API Reference:
Remember that Databricks Lakehouse Monitoring is still in public preview, so there might be occasional quirks.
Keep an eye on the Databricks documentation for any updates or additional troubleshooting steps. ๐
โ02-19-2024 11:58 PM
Hi @yatharth,
1. Ownership and Permissions:
Schema Names:
output_schema_name
for the metric tables was different from where your table is. Ensure that the specified schema exists and is accessible.Catalog Name:
Metric Table Creation:
Custom Metrics:
API Reference:
Remember that Databricks Lakehouse Monitoring is still in public preview, so there might be occasional quirks.
Keep an eye on the Databricks documentation for any updates or additional troubleshooting steps. ๐
โ02-22-2024 08:10 AM
Any success/workaround on this topic? I have the same issue
โ02-22-2024 08:16 AM
For me getting the admin access for the unity catalog solved it, as only admins can create tables, hence if tables are not getting created automatically, I'll suggest to check if you have permission to create any sort of table manually using the UI or code
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