You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(nodedb-sql): extend bitemporal support to columnar and timeseries engines
Add `bitemporal` and `temporal` fields to `AggregatePlanParams` so that
temporal scope is preserved from the outer SELECT into the inner scan
when planning aggregate queries over bitemporal collections.
Update `ColumnarRules` and `TimeseriesRules` to allow `FOR SYSTEM_TIME /
FOR VALID_TIME` clauses when the collection was created `WITH
BITEMPORAL`; non-bitemporal collections still receive a clear error
message. The aggregate path receives the same guard.
Propagate `temporal` into `SqlPlan::TimeseriesScan` so the conversion
layer has the scope available when building the physical plan.
Fix aggregate planning in the document engines to forward `temporal`
into the inner scan instead of resetting it to the default scope.
0 commit comments