Forum Discussion

Chaucer's avatar
Chaucer
Icon for Helper II rankHelper II
1 year ago
Solved

Best Practice: Order Data via API that contains an Order Date and a Last Modified Date

I have order data that contains an Order Date, and a Last Modified Date. Order Data periodically updates as orders progress through the system as shipment status changes etc. Typically for a month or...
  • lbendlin's avatar
    lbendlin
    1 year ago
    but how do I setup an incremental refresh on a value that is changing?

    What you are looking for is differential refresh, not incremental refresh. Incremental refresh assumes that your data is largely immutable, and it can only work on partition level, not row level.

     

    How you handle that is up to you. Think of it in terms of cold-warm-hot data.  You refresh the hot partitions frequently to capture all changes to recently created rows. You refresh the warm partitions occasionally to capture the changes to older rows.  You refresh the cold partitions if you know for sure that a row there has changed.

     

    Consider using SCD instead.