cancel
Showing results for 
Search instead for 
Did you mean: 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results for 
Search instead for 
Did you mean: 

Create alert and send notification to owner of table

subbaram
New Contributor II

We have a use case where we need to send notification to owners of each table/volume in a schema if the creation date for table/volume is greater than 30 days by triggering a notebook script or through Rest API.

 

Will there be a chance that we get the owner of volume/table on the fly and create an alert first with owner email(which will be dynamic) as destination and then send out a notification to the owners?

1 REPLY 1

shan_chandra
Databricks Employee
Databricks Employee

Hi @subbaram  - you can create a simple python script by quering system tables - system.information_schema.tables  and create a dynamic list where creation date > 30 days and alert the table_owner via email. 

Hope this helps !!!

Thanks,

Shan 

Connect with Databricks Users in Your Area

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