Skip to content

Call the window average wAvgAgg - #84

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:test/window-average-wavgagg
Oct 18, 2026
Merged

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

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

The test of the window aggregates calls the window average wAvgAgg, the name the MEOS catalog
states for Tnumber_wavg_transfn (@altsqlfn wAvgAgg() on MobilityDB master) and the name JMEOS's
codegen_jvm.py registers it under, an aggregate taking its catalog altSqlName.

Why: the build derives the surface from the catalog of MobilityDB master, which names the
aggregate wAvgAgg in the engines, MobilityDB keeping wAvg; DuckDB names its weighted average wavg
and compares names without case, so the three engines take the one name.

The test of the window aggregates calls the window average wAvgAgg, the name the MEOS catalog
states for Tnumber_wavg_transfn (`@altsqlfn wAvgAgg()` on MobilityDB master) and the name JMEOS's
codegen_jvm.py registers it under, an aggregate taking its catalog altSqlName.

Why: the build derives the surface from the catalog of MobilityDB master, which names the
aggregate wAvgAgg in the engines, MobilityDB keeping wAvg; DuckDB names its weighted average wavg
and compares names without case, so the three engines take the one name.
@estebanzimanyi
estebanzimanyi merged commit 901cc26 into MobilityDB:main Oct 18, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the test/window-average-wavgagg branch October 18, 2026 21:22
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