cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Glue Catalog Metadata Management with Enforced Tagging in Databricks

KartRasi_10779
New Contributor

As part of the data governance team, we're trying to enforce table-level tagging when users create tables in a Databricks environment where metadata is managed by AWS Glue Catalog (non-Unity Catalog). Is there a way to require tagging at table creation, or to set up a process that enforces tagging in such an environment? Any guidance on best practices or tools to implement this would be appreciated

 
2 REPLIES 2

Brahmareddy
Honored Contributor

Hi @KartRasi_10779,

How are you doing today?

As per my understanding, Consider creating a tagging enforcement process by implementing a custom script or trigger that checks for table tags post-creation, as AWS Glue Catalog doesn't natively support mandatory tagging at table creation. You could use AWS Lambda functions combined with Glue triggers to monitor for new table creation and automatically apply or validate tags. Another approach is to integrate Databricks jobs that run periodically to ensure all tables have the required tags and alert when tags are missing. Best practices would include setting up clear tagging policies and using automation tools like Databricks REST API or Glue Crawlers to ensure tags are consistently applied across all tables.

Give a try and let me know the outcome.

Hoping you have a good day.

Regards,

Brahma

145676
New Contributor II

You can use lakeFS pre-merge hooks to force this. Works great with this stack -> https://lakefs.io/blog/lakefs-hooks/ 

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