import org.apache.spark.sql.delta.DeltaLog val deltaLog = DeltaLog.forTable(spark, "/tmp/delta/users") scala> :type deltaLog.snapshot.metadata org.apache.spark.sql.delta.actions.Metadata
|Use DescribeDeltaDetailCommand to review the metadata of a delta table.|
Metadata uses id to uniquely identify a delta table. The ID is never going to change through the history of the table (unless the entire directory, along with the transaction log is deleted). It is known as tableId or reservoirId.
When I asked the question tableId and reservoirId - Why two different names for metadata ID? on delta-users mailing list, Tathagata Das wrote:
Metadata is created when:
schema is a deserialized schema (from JSON format) to