Reputation: 151
Please clarify my confusion as I keep hearing we need read every Parquet file created by Databricks Delta tables to get to latest data in case of a SCD2 table. Is this true?
Can we simply use SQL and get the latest row? Can we use some date/time columns to get to history of changes to that row?
Thanks
Upvotes: 3
Views: 630
Reputation: 581
You can create and manage a Delta table as SCD2 if you wish. Actually, what confuses you must be the Time Travel feature. It just allow you to rollback your Delta table to any of its historical states which are automatically managed by Databricks.
Answer:
PS This is a really good question.
Upvotes: 2