Repository navigation
Check the aggregates over a base value on the typed Spark surface - #81
Merged
estebanzimanyi merged 1 commit intoOct 12, 2026
Merged
Conversation
GeneratedSqlSurfaceTest.baseValueAggregatesAnswerWhatMobilityDBAnswers checks that setUnionAgg
over integers, bigints, floats, texts, dates and timestamps, extent over integers, bigints,
floats, dates and timestamps, and tCount over timestamps answer what MobilityDB answers over the
same values with the time zone set to UTC, each value in a partition of its own, so the combine
joins the partial states: {1, 2, 3} for the integers 3, 1, 2 and 1, [1, 4) for their extent,
{1@2001-01-01 00:00:00+00, 2@2001-01-02 00:00:00+00} for the count of three timestamps two of
which are equal.
Witness: with the generator of JMEOS main e8c65dc4 the surface registers none of the 12, and the
test fails with "aggregate setUnionAgg(int) does not exist".
Measured over MobilityDB b2dcdf7d84, the catalog of MEOS-API 9b337a00fe and JMEOS main 67294a87,
which carries #176: the 46 tests pass, 18 of them in
GeneratedSqlSurfaceTest, with 0 warnings.
Why: a set, a span or a count over the integers, dates or timestamps of a table answers on Spark
as it does in PostgreSQL.
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.
GeneratedSqlSurfaceTest.baseValueAggregatesAnswerWhatMobilityDBAnswers checks that setUnionAgg
over integers, bigints, floats, texts, dates and timestamps, extent over integers, bigints,
floats, dates and timestamps, and tCount over timestamps answer what MobilityDB answers over the
same values with the time zone set to UTC, each value in a partition of its own, so the combine
joins the partial states: {1, 2, 3} for the integers 3, 1, 2 and 1, [1, 4) for their extent,
{1@2001-01-01 00:00:00+00, 2@2001-01-02 00:00:00+00} for the count of three timestamps two of
which are equal.
Witness: with the generator of JMEOS main e8c65dc4 the surface registers none of the 12, and the
test fails with "aggregate setUnionAgg(int) does not exist".
Measured over MobilityDB b2dcdf7d84, the catalog of MEOS-API 9b337a00fe and JMEOS main 67294a87,
which carries #176: the 46 tests pass, 18 of them in
GeneratedSqlSurfaceTest, with 0 warnings.
Why: a set, a span or a count over the integers, dates or timestamps of a table answers on Spark
as it does in PostgreSQL.