Skip to content

Cover the H3 cell surface in the generated-surface test#38

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:test/generated-surface-h3-smoke
Jul 16, 2026
Merged

Cover the H3 cell surface in the generated-surface test#38
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:test/generated-surface-h3-smoke

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

GeneratedSurfaceTest covers the catalog-generated UDF surface across families but has no temporal-H3 case. This adds h3_cell_prefilter_surface, exercising the H3 cell prefilter end-to-end on the generated surface:

  • geoToH3IndexSet(geometry, resolution) on a 4326 point
  • th3index(tgeompoint, resolution) on a 4326 trip
  • the ever_eq_h3indexset_th3index membership prefilter — the index-less BerlinMOD Q13 join key — asserting a trip's cell is in a same-point region's cell set (true) and not in a far-away region's (false)

Geometries carry SRID=4326 because H3 requires lon/lat.

GeneratedSurfaceTest exercised every family except temporal H3. Add an
h3_cell_prefilter_surface test that runs th3index, geoToH3IndexSet and the
ever_eq_h3indexset_th3index prefilter end-to-end: a 4326 trip's cell is in a
same-point region's cell set (true) but not in a far-away region's (false).
@estebanzimanyi
estebanzimanyi merged commit efb164d into MobilityDB:main Jul 16, 2026
1 of 2 checks passed
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