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
Contributor

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
Honored Contributor

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). 

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

jacovangelder
Honored Contributor

Judging by the docs, that is commandSubmit.

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