Skip to content

Check the window aggregates on the typed Flink surface - #77

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

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

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

GeneratedSqlSurfaceTest.windowAggregatesAnswerWhatMobilityDBAnswers checks that wCount, wMax and
wAvg over two temporal integers and wSum over a discrete temporal float, with a window of one day,
answer what MobilityDB answers, in a streaming job and in a batch job of two phases; aggregateCall
reads the call of an aggregate of several arguments as aggregate reads one of one.

Witness: with the generator of JMEOS ef197a02 the surface registers no window aggregate, the 30
overloads of wCount, wMin, wMax, wSum and wAvg left out as taking two arguments.

Measured over MobilityDB 1f41894b35, the catalog of MEOS-API ff5f838173 and the generator of
JMEOS #169 (26044b19): the 37 tests pass, 15 of them in GeneratedSqlSurfaceTest.

Why: a window aggregate answers on Flink as it does in PostgreSQL.

GeneratedSqlSurfaceTest.windowAggregatesAnswerWhatMobilityDBAnswers checks that wCount, wMax and
wAvg over two temporal integers and wSum over a discrete temporal float, with a window of one day,
answer what MobilityDB answers, in a streaming job and in a batch job of two phases; aggregateCall
reads the call of an aggregate of several arguments as aggregate reads one of one.

Witness: with the generator of JMEOS ef197a02 the surface registers no window aggregate, the 30
overloads of wCount, wMin, wMax, wSum and wAvg left out as taking two arguments.

Measured over MobilityDB 1f41894b35, the catalog of MEOS-API ff5f838173 and the generator of
JMEOS #169 (26044b19): the 37 tests pass, 15 of them in GeneratedSqlSurfaceTest.

Why: a window aggregate answers on Flink as it does in PostgreSQL.
@estebanzimanyi
estebanzimanyi merged commit 60c5004 into MobilityDB:main Oct 10, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the test/window-aggregates branch October 10, 2026 17:23
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