Skip to content

Check the aggregates of every state the catalog states on both Spark surfaces - #74

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:test/catalog-aggregates
Oct 10, 2026
Merged

estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:test/catalog-aggregates

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

GeneratedSqlSurfaceTest.aggregatesOfEveryStateAnswerWhatMobilityDBAnswers checks that tAvg and
tCentroid, whose skip lists carry sums, counts and coordinates, setUnionAgg and spanUnionAgg,
whose states are a set and a span set, and extent over boxes and over a temporal float, whose
state is a box, answer what MobilityDB answers over values in partitions of their own, so every
partial state crosses the shuffle as the bytes its serialize function or its type's codec
writes. GeneratedSurfaceTest.temporal_aggregates_answer_what_mobilitydb_answers checks tAvg over
binary values on the UDF surface.

Witness: with the generator of JMEOS main both tests fail on "Cannot resolve routine tAvg".

Measured over MobilityDB bdc4e41234, the catalog of MEOS-API d259ddbfea and the generator of
JMEOS codegen/catalog-aggregates: the 38 tests pass.

Why: an aggregate answers on Spark as it does in PostgreSQL, whatever state it keeps.

…surfaces

GeneratedSqlSurfaceTest.aggregatesOfEveryStateAnswerWhatMobilityDBAnswers checks that tAvg and
tCentroid, whose skip lists carry sums, counts and coordinates, setUnionAgg and spanUnionAgg,
whose states are a set and a span set, and extent over boxes and over a temporal float, whose
state is a box, answer what MobilityDB answers over values in partitions of their own, so every
partial state crosses the shuffle as the bytes its serialize function or its type's codec
writes. GeneratedSurfaceTest.temporal_aggregates_answer_what_mobilitydb_answers checks tAvg over
binary values on the UDF surface.

Witness: with the generator of JMEOS main both tests fail on "Cannot resolve routine `tAvg`".

Measured over MobilityDB bdc4e41234, the catalog of MEOS-API d259ddbfea and the generator of
JMEOS codegen/catalog-aggregates: the 38 tests pass.

Why: an aggregate answers on Spark as it does in PostgreSQL, whatever state it keeps.
@estebanzimanyi
estebanzimanyi merged commit 8515588 into MobilityDB:main Oct 10, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the test/catalog-aggregates branch October 10, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant