Distinguishing ROLLUP-generated NULLs from stored NULLs when validating restored aggregate tables
When restoring a reporting schema that uses GROUP BY ROLLUP to materialize subtotals and a grand total, the recovery process must verify that aggregated rows match the detail rows without double-counting or missing data. The rollup operation emits NULL in grouping columns to represent "all values" at each subtotal level, yet the source tables may also contai