We have a source table that receives daily append operations, but the rows created within the last 30 days in this table can be updated or deleted. Thus, the source table is not exactly a streaming source.
Our processing workflow involves performing "GROUP BY" and aggregations on this source table. Due to the table's large size, exceeding 1TB, recomputing the entire table for updating downstream tables would incur significant computation costs.
My question is:
Do materialized views get updated when the underlying source table changes, without requiring a recomputation of the entire source table? If not, I would greatly appreciate your guidance on the best methods to handle this problem efficiently.