Parameters
Example: Replace one day’s sales
A sales table is partitioned by theSALE_DATE column. A corrected dataset arrives for 2024-01-15, so only that partition is replaced. All other partitions remain unchanged.
Existing target table
Incoming dataset
Resulting target table
Because this write mode replaces entire partitions, Prophecy removes all existing rows from any partition represented in the incoming dataset before writing the new rows. Partitions that are not represented in the incoming dataset are left unchanged. In this example, only the
2024-01-15 partition is replaced, while the 2024-01-14 partition remains unchanged.
