Is there a simple way to choose a previous delta table version as the current/working version?
Instead of creating another version by overwrite/truncate
, can we just designate a version as the "current/latest" version?
This operation is more like undo
, which completely remove some steps and make the data to a previous stage. Then when doing select * from MYTABLE
this MYTABLE
can point to the restored version.
both SQL or PySpark would be appreicated!