Reprocessing incrementally-loaded source files example
Reprocessing incrementally-loaded source files example
You have a source directory that receives a new data file every six hours. In Data Integration, you have a mapping that incrementally loads these files to a target and a mapping task that is scheduled to run the mapping at 3:00 a.m. every day.
The following image shows the contents of the source and target directories over two days:
Mid-day on February 4, you realize that incorrect data was loaded the previous day, February 3, so your target contains incorrect data for the files created on February 2. After fixing the files in the source directory, you run a job with advanced options to reprocess the incorrect files.
In the advanced options, you choose to read incrementally-loaded source files that were modified between 02/02/2022 00:00:01 and 02/03/2022 00:00:00. You click
Run
to run the mapping task with the advanced options. The reprocessing job processes the files modified within the selected time interval and writes them to the target.
When the next scheduled job runs at 3 a.m. on February 5, it incrementally loads the files created on February 4, as usual.