Hello @manjeettanwar10 ,
The Delta History API allows you to view the logs of all SQL statements executed on your table, including UPDATE, DELETE, and INSERT commands. When used in conjunction with Delta's Time Travel features, it's possible to retrieve the Delta table and data in a previous state, as long as data retention periods are respected.
Alternatively, Change Data Feed can also be used to monitor the state of data and changes. One of the differences is that CDF captures data values, while Delta History displays the SQL statement history and predicates, but not the actual data values.
As described at Change Data Feed:
"Change data feed works in tandem with table history to provide change information. Because cloning a Delta table creates a separate history, the change data feed on cloned tables doesn’t match that of the original table."
Best regards,
Raphael Balogo
Sr. Technical Solutions Engineer
Databricks