02-15-2022 12:35 AM
I am currently doing some use case testing. I have to CLONE delta table with CDF enabled to a different S3 bucket. Deep clone doesn't meet the requirement. So I tried to copy the files using dbutils.fs.cp, it is copying all the versions but the timestamp is getting changed.
Is there any work around to retain the timestamp as well while copying / migrating delta table.
Appreciate your valuable suggestions
04-25-2022 12:16 PM
@Rama Krishna N , According to the docs "A cloned table has an independent history from its source table.." are you trying to do use time travel? maybe the clone uses cases that we have in the docs might help to explain better https://docs.databricks.com/delta/delta-utility.html#clone-use-cases
02-23-2022 02:20 AM
Hi @Kaniz Fatma , Thanks for your response, I am not using Azure. I am working on DataBricks AWS.
04-11-2022 11:59 AM
Hi @Rama Krishna N ,
Just a friendly follow-up. Do you still need help? If you do, could you provide more details on your issue?
What type of cloning did you do? Shadow or deep clone?
A cloned table has an independent history from its source table. Time travel queries on a cloned table will not work with the same inputs as they work on its source table. You can find more information here https://docs.databricks.com/delta/delta-utility.html#clone-delta-table
04-11-2022 08:44 PM
Hi @Jose Gonzalez : Thanks for the follow-up. I am using Deep clone and was expecting the utility maintains the same historical timestamps. But that is not happening. Is there any good reason for independent history?
04-25-2022 12:16 PM
@Rama Krishna N , According to the docs "A cloned table has an independent history from its source table.." are you trying to do use time travel? maybe the clone uses cases that we have in the docs might help to explain better https://docs.databricks.com/delta/delta-utility.html#clone-use-cases
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group