Grain relationships
Operators' compute bindings can be inspected to infer semantical source-to-target relationships between source and target profile grains.
| Relationship |
Source compared with target |
same |
Both have the same resolutions. |
expand |
The target refines the source by adding dimensions or selecting finer resolutions. |
collapse |
The target is coarser by removing dimensions or selecting coarser resolutions. |
emerge |
No source profile exists; the operator introduces data at the target grain. |
vanish |
No target profile exists; the operator consumes the source grain without producing a profile. |
fuse |
Multiple sources become one target. |
unrelated |
Neither grain refines the other through the declared hierarchy. |
not_applicable |
A declared source cannot be resolved, or a profile grain is invalid. |
The comparison uses resolution hierarchy, not dimension counts. Sources include
logical feature owners and dataframe profiles. These labels do not perform
calculations or select a merge.
Grain relationship visualization
The following examples compare source and target profile grain relationships. They show how the
observation keys relate, not how a function computes or transforms feature
values.
Same grain
Both profiles select the same dimensions and resolutions. Their feature sets
and row scopes can still differ.
Profiles can also share a grain while covering different row scopes:
Expand
The target refines the source by adding a dimension or selecting a finer
resolution. This example adds the timestamp dimension.
Collapse
The target is coarser by removing a dimension or selecting a coarser resolution.
This example removes the timestamp dimension. The relationship does not specify
how target feature values are calculated.
Emerge
An operator introduces data at a target profile when no source profile exists.
The relationship is determined by the missing source profile, not by the
function's external data source.
Vanish
An operator consumes data from a source profile without producing a target
profile. The relationship describes the profile boundary, not the destination
of any external write.