I don't think that there is a native way to do it, but if you know the path of all your table you can use a little trick: check the _last_checkpoint
file in the _delta_log
folder of your tables. If you get the time of this file (for example using the Python function os.path.getmtime
, don't forget to add /dbfs
at the start of your path to use it) you will basically get the last modified date.
It's probably a lot quicker to do it like that, and you can even parallelize the work if you need, but the downside is that you need to have the path of all your tables (or at least beeing able to find it with a walk on your folders, a folder with a _delta_log
is a delta table so you should be able to scan your disks).
EDIT (in case someone later don't look the comment):
As you said the _last_checkpoint
file should be modified only every 10 commits, so it's not good. As a workaround, you can look at the date of all the files in _delta_log
and takes the last modification (example here), that should work and I suspect it will still be a lot faster than desc detail
.