Here’s the use case: We are ingesting data, and after each ingestion, we need to check if an aggregation of multiple data points over a specific time window exceeds a certain threshold. If this value is greater than the threshold, we trigger a notification.
The challenge here is that the aggregation check depends on the new data point being successfully ingested into the table. We need to ensure that the calculation is only performed once the new record is definitely in the table, and not before.
Maybe using the table offset could be interesting…