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): wire bitemporal strict collections through DDL and Data Plane
DDL: the pgwire `CREATE COLLECTION … BITEMPORAL TYPE strict` path now reads
the BITEMPORAL flag before choosing the schema constructor, routing through
`parse_typed_schema_with_flags` which calls `StrictSchema::new_bitemporal`.
The flag is propagated to non-strict collection paths unchanged.
Data Plane: add `bytes_to_binary_tuple_bitemporal` and
`value_to_binary_tuple_bitemporal` helpers in `strict_format`. The put,
update, and upsert handlers check `schema.bitemporal` and call the
bitemporal encoder when appropriate, capturing `system_from_ms` once per
operation so it is consistent between encoding and the versioned-store entry.
Tests cover the value → binary-tuple → timestamp-extraction roundtrip and
rejection of the bitemporal path on plain schemas.
0 commit comments