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: 

Looking for descriptions of action_name column in system.access.audit.. specifically getTable

WWoman
New Contributor III

Hi all,

I am looking for description of action_name column in system.access.audit. I am specifically interested in getTable, deleteTable and createTable. I believe the latter 2 are self descriptive but I'd like to confirm.

If getTable is related to accessing the data in the object (request_parame.full_name_arg) I would expect to see the SQL in request_params.commandText, but I am seeing a lot of NULL values.

3 REPLIES 3

jacovangelder
Contributor III

Have you read this? https://docs.databricks.com/en/admin/system-tables/audit-logs.html

I do agree that is a bit vague. But getTable seems to me when you do a DESCRIBE TABLE <table>, or view table metadata in the UI, so not accessing data in the table, but just metadata (getting the DDL). 

WWoman
New Contributor III

That does sound like it makes sense, but what action(s) describes actually accessing the data in the table? 

Judging by the docs, that is commandSubmit.

I'll have a try with it tomorrow if I have time. 

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!