With vacuum function or create subsequence versions, _delta_log/00000000000000000000.json can be deleted and _is_delta_table will fail to check if is a Delta Lake format. I changed to _last_checkpoint because this file will not be deleted by the future versions of the table.
Thanks @ignitz. You are absolutely correct. Checking for the _last_checkpoint file instead seems like a good idea. I included your changes in version 0.2.11
With vacuum function or create subsequence versions,
_delta_log/00000000000000000000.json
can be deleted and_is_delta_table
will fail to check if is a Delta Lake format. I changed to_last_checkpoint
because this file will not be deleted by the future versions of the table.