Skip to content
This repository was archived by the owner on Dec 2, 2026. It is now read-only.

Regenerate the dispatcher's table from the catalog of MobilityDB master - #23

Merged
estebanzimanyi merged 1 commit into
MobilityDB:masterfrom
estebanzimanyi:gen/regenerate-from-master
Nov 12, 2026
Merged

estebanzimanyi merged 1 commit into
MobilityDB:masterfrom
estebanzimanyi:gen/regenerate-from-master

Conversation

@estebanzimanyi

@estebanzimanyi estebanzimanyi commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

mobilityapi/catalog_gen.py is the table tools/codegen.py writes from the catalog of MEOS-API master cf4d124e6f on MobilityDB master 0bc5f54084, parsed from the source-tree headers as the generated-table job derives it, so a slot keeps the header's spelling (int64) in its cType. The dispatcher serves 3650 functions. Each set, span, span set and temporal value writes its text through set_out, span_out, spanset_out and temporal_out, which the table states, and the per-type writers intset_out, tstzspan_out, tint_out, tfloat_out, tspatial_out and their siblings are not in it.

Why. MobilityDB master has one text writer per template, so its catalog states none of the 40 per-type writers the table served; with them, 43 other functions are gone from the catalog (the trgeometry_* restrictions and accessors, tpoint_at_geom, th3index_make, ...) and 16 geometry primitives (geom_area, geog_length, geom_dwithin2d, ...) are no longer exposable. The generated-table job of python.yml, which regenerates the table from the catalog of master and refuses a difference, fails on the table it replaces, and a dispatch of 79 of those 99 names reaches a function the libmeos of master does not export.

Witness. Against the table it replaces, 99 functions leave and 99 arrive (set_out, span_out, spanset_out, temporal_out, the ever and always overlaps of a box and a temporal value, those of a temporal point cloud and a point cloud box, the casts of a spatial value to geography, ...); two runs of the generator write the same file. The libmeos of MobilityDB master 0bc5f54084 with every family exports temporal_out and not tfloat_out. Every offline test passes: 66 tests, none skipped (test_app, test_bulk, test_codegen, test_dispatcher, test_movfeat, test_resolvers, test_wire).

@estebanzimanyi
estebanzimanyi force-pushed the gen/regenerate-from-master branch from 52a6df0 to 8436ea1 Compare November 12, 2026 18:37
mobilityapi/catalog_gen.py is the table tools/codegen.py writes from the catalog of MEOS-API master cf4d124e6f on MobilityDB master 0bc5f54084, parsed from the source-tree headers as the generated-table job derives it, so a slot keeps the header's spelling (int64) in its cType. The dispatcher serves 3650 functions. Each set, span, span set and temporal value writes its text through set_out, span_out, spanset_out and temporal_out, which the table states, and the per-type writers intset_out, tstzspan_out, tint_out, tfloat_out, tspatial_out and their siblings are not in it.

Why. MobilityDB master has one text writer per template, so its catalog states none of the 40 per-type writers the table served; with them, 43 other functions are gone from the catalog (the trgeometry_* restrictions and accessors, tpoint_at_geom, th3index_make, ...) and 16 geometry primitives (geom_area, geog_length, geom_dwithin2d, ...) are no longer exposable. The generated-table job of python.yml, which regenerates the table from the catalog of master and refuses a difference, fails on the table it replaces, and a dispatch of 79 of those 99 names reaches a function the libmeos of master does not export.

Witness. Against the table it replaces, 99 functions leave and 99 arrive (set_out, span_out, spanset_out, temporal_out, the ever and always overlaps of a box and a temporal value, those of a temporal point cloud and a point cloud box, the casts of a spatial value to geography, ...); two runs of the generator write the same file. The libmeos of MobilityDB master 0bc5f54084 with every family exports temporal_out and not tfloat_out. Every offline test passes: 66 tests, none skipped (test_app, test_bulk, test_codegen, test_dispatcher, test_movfeat, test_resolvers, test_wire).
@estebanzimanyi
estebanzimanyi force-pushed the gen/regenerate-from-master branch from 8436ea1 to 301012b Compare November 12, 2026 18:43
@estebanzimanyi
estebanzimanyi merged commit b4d4c68 into MobilityDB:master Nov 12, 2026
4 checks passed
@estebanzimanyi
estebanzimanyi deleted the gen/regenerate-from-master branch November 12, 2026 19:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant