Cloning Data

Deep Clone: Physically copies the data over and by running command again the new data can be synced into copy as well
Shallow Copy: Creates a new copy of only the delta logs (Useful for testing operations)

How to Easily Clone Your Delta Lake Data Tables with Databricks - The Databricks Blog

Overwriting Data

CRAS (Create or Replace Table)

Overwrites can be used to completely delete the data
Faster as files do not need to be accessed to delete any data
Data is not actually deleted and can be retrieved again using Time Travel

CREATE OR REPLACE TABLE events AS
SELECT * FROM parquet.`${da.paths.datasets}/raw/events-historical`

Insert Overwrite

This method can only be used if the table already exists
Cannot change the Schema of the table using this approach (unless OPTIONS are provided)
Safer approach as overwrite will fail it schema of the data is different

INSERT OVERWRITE sales
SELECT * FROM parquet.`${da.paths.datasets}/raw/sales-historical/`