cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Governance
Join discussions on data governance practices, compliance, and security within the Databricks Community. Exchange strategies and insights to ensure data integrity and regulatory compliance.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

User ID, Username and Notebook not populated in History Tab

GMB
New Contributor II

Hi,

If I update a Tag on a table within a Noetbook as follows:

sql = f"""ALTER TABLE {silver_catalog}.public.tablename SET TAGS ('Is_published' = 'Y');"""
spark.sql(sql)
Then the User ID and Username, nor Notebook is populated when I look in the History tab after executing the code.
User ID and Username are capyured if I manually make the updates via the UI.
Is this by design or do I need to do something else to capture this information?
1 REPLY 1

Vidhi_Khaitan
Databricks Employee
Databricks Employee

Hi team,

You should be able to see the change in the History tab when changes are made manually through the UI or changes made through APIs that explicitly push user metadata. Programmatic Spark SQL updates may not automatically attach full interactive user metadata in the UC history.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now