Looking for descriptions of action_name column in system.access.audit.. specifically getTable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 08:56 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 10:20 AM
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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 11:23 AM
That does sound like it makes sense, but what action(s) describes actually accessing the data in the table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 11:27 AM
Judging by the docs, that is commandSubmit.
I'll have a try with it tomorrow if I have time.

