QuestionQ270

VerifiedData Modelling

A data architect has learned about Delta Lake’s native versioning and time-travel features. For audit purposes, they must retain a complete history of every valid street address as it appears in the customers table.

The architect wants to implement a Type 1 table, replacing existing records with new values and using Delta Lake time travel for long-term auditing. A data engineer on the project believes a Type 2 table would offer better performance and scalability.

Which information is essential to making this decision?

Explanation

Delta Lake time travel can read overwritten table snapshots only while the required transaction-log and old data files are retained. Retaining those files for a long-term audit trail raises storage cost, and operations on extensive retained history become more expensive. A Type 2 table instead stores each address version as data, making long-term historical auditing more directly scalable and queryable.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!