heman026 opened a new issue, #1585:
URL: https://github.com/apache/iceberg-python/issues/1585
### Question
Hi,
I need to read the latest metadata Json file of Iceberg table. I am using
Rest Catalog for Nessie with Minio Storage. I used the following code, but the
Metadata_log is empty. Could you please help me get the latest metadata file.
```
py_table = catalog.load_table('test.emp')
metadata = py_table.metadata
latest_metadata_file = metadata.metadata_log[-1].file
```
Let me know if there is any other way to get the latest metadata file, if
the above code is not correct.
Thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]