Parameters
Example: Replace sales from January 5 onward
A sales table uses the predicatesale_date >= '2024-01-05'. When a corrected dataset arrives, Prophecy removes all rows that satisfy the predicate and replaces them with the incoming dataset. Rows that do not satisfy the predicate remain unchanged.
Predicate: sale_date >= '2024-01-05'
Existing target table
Incoming dataset
Resulting target table
Because this write mode replaces all rows that satisfy the predicate, Prophecy removes every existing row that matches the predicate before writing the incoming dataset. Rows that do not satisfy the predicate remain unchanged. In this example, the row for
2024-01-15 (ORDER_ID 203) is removed because it matches the predicate but is not included in the incoming dataset, while the row from 2023-12-20 remains unchanged.
