โ04-24-2023 01:41 PM
I know to "reset" AutoLoader, you can delete the checkpoint file entirely. I was wondering if it's possible to and how would someone :
Thanks for your help.
โ04-25-2023 02:43 AM
Hello @Dominic Dufourโ ,
I had the same question and Unfortunately it is not possible yet.
However you can delete the checkpoint file and use the Autoloader option - "modifiedAfter" to pick up the files after a specific time. This is a one time activity as the checkpoint will be created again to continue for the future loads. You can remove the "modifiedAfter" once your data loads are back on track.
The other work around I can think of is a bit intensive one, You can have some scheduled jobs to copy the checkpoint files to a different location frequently (with date time markers- probably in the folder name). You can restore the checkpoint files from that location when you want to reset Autoloader.
โ04-25-2023 02:43 AM
Hello @Dominic Dufourโ ,
I had the same question and Unfortunately it is not possible yet.
However you can delete the checkpoint file and use the Autoloader option - "modifiedAfter" to pick up the files after a specific time. This is a one time activity as the checkpoint will be created again to continue for the future loads. You can remove the "modifiedAfter" once your data loads are back on track.
The other work around I can think of is a bit intensive one, You can have some scheduled jobs to copy the checkpoint files to a different location frequently (with date time markers- probably in the folder name). You can restore the checkpoint files from that location when you want to reset Autoloader.
โ04-25-2023 07:08 AM
Thanks for the quick answer, this was really helpful !
โ05-16-2023 06:29 AM
This would for sure be a useful feature.
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