Add the temporal-covering projection generator#25
Merged
estebanzimanyi merged 1 commit intoJul 7, 2026
Conversation
d380530 to
16f7d69
Compare
Project the catalog's temporalCovering block onto the canonical, language-agnostic covering-column contract: per temporal type, the ordered covering columns with the fully-composed MEOS expression that derives each from the value (e.g. tgeompoint xmin = stbox_xmin(tspatial_to_stbox(VALUE)), srid = tspatial_srid(VALUE); tfloat vmin = tbox_xmin(tnumber_to_tbox(VALUE))). Every binding generator renders this same contract in its own idiom — a DuckDB GENERATED column, a Spark UDF projection, a PyMEOS writer — so a temporal table prunes the same way on every platform (Iceberg manifest + Parquet row-group min/max). The VALUE placeholder is the temporal column reference the binding substitutes. generator/covering.py is the pure dict->dict projection; generate_covering.py is the CLI writing output/meos-covering-projection.json. Mirrors the generate_movfeat_openapi.py / generator/movfeat.py projection idiom.
16f7d69 to
b1de65f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Projects the catalog's
temporalCoveringblock onto the canonical, language-agnostic covering-column contract — per temporal type, the ordered covering columns with the fully-composed MEOS expression that derives each from the value. This is the reference rendering every binding generator (PyMEOS, JMEOS, MobilityDuck, MobilitySpark, …) reproduces in its own idiom, so a temporal table prunes the same way on every platform (Iceberg manifest + Parquet row-group min/max).generator/covering.pyrenders the projection;tests/test_covering_projection.pyholds the worked examples.