Rectangle Decomposition
Aligns independently changing attribute histories by decomposing overlapping valid-time and visible-time intervals into deterministic bitemporal regions.
Decomposes complex temporal projections into deterministic bitemporal regions that can be validated and queried reliably.
Multiple independently changing histories cannot be projected into one row without temporal alignment.
An entity can have many independently historized attributes stored as attribute rows. Each attribute can have its own valid-time and visible-time history.
When independent histories are combined, simple joins can create overlapping combinations that never existed as a real business state.
When those attributes are projected into one reporting row, the result needs one shared bitemporal interval. Without decomposition, the output can contain overlapping or ambiguous historical states.
Two independently historized attributes are decomposed into stable bitemporal rectangles.
Rectangle Decomposition does not create arbitrary time buckets. It splits only at real source boundaries and resolves the active attribute combination per atomic rectangle. After decomposition, neighbouring rectangles can be compacted along valid time when the resolved attribute combination stays identical.
Turning independent attribute histories into one consistent bitemporal representation.
Rectangle decomposition resolves independently historized attributes into stable bitemporal regions.
Instead of joining overlapping histories directly, the pattern extracts real temporal boundaries, creates atomic rectangles and assigns one resolved attribute combination to each region.
The result is a structure that can be validated, queried and consumed by reporting systems without ambiguous historical states.
Analyze this Rectangle Decomposition example
Use these sample target tables to test the validator:
- Copy one of the target tables below.
- Start an investigation with this example data.
- Paste the copied table as your target output.
- Check whether overlapping attribute projections were decomposed.
Independent attributes create independent temporal boundaries.
Different source systems capture changes at different moments. Each attribute therefore represents a partial view of the same entity with its own valid-time and visible-time history.
When these histories are combined directly, overlapping projections can create combinations that never existed as a real business state.
Rectangle Decomposition reconciles these independent histories by creating deterministic temporal regions with one resolved attribute combination per region.
Validate that the projected output is bitemporally stable.
Rectangle Decomposition turns independent attribute history into one reportable history.
Without Rectangle Decomposition, the same entity and reporting date can produce multiple possible attribute combinations.
With decomposition, each output row represents one entity, one bitemporal rectangle and one stable historical truth.
How this pattern relates to other temporal models
Rectangle decomposition does not replace temporal models. It prepares complex histories by resolving overlapping temporal regions before reporting and analytical models consume the data.
This pattern is especially useful when corrections arrive frequently, attributes change independently or reporting requires one consistent historical truth.
Explore bitemporal alignment problems in the Workbench.
Use the Historical Modeling Workbench to reason about bitemporal overlaps, temporal joins, coverage gaps and stable reporting intervals.
Open Historical Modeling Workbench →