Skip to content

Name the S2 cell family the gate cannot otherwise see - #349

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:fix/gate-knows-the-s2-family
Aug 28, 2026
Merged

Name the S2 cell family the gate cannot otherwise see#349
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:fix/gate-knows-the-s2-family

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

The family gate rejects a function by the family tokens of its NAME, and it can only reject a token it knows. The S2 cell index family is absent from that vocabulary, so tbigint_to_ts2cell reads as a tbigint function — its other token is a registered family — and passes. What passes is emitted: a call to a MEOS symbol no included header declares, which the extension fails to compile (run 33166334744), and a registration of ts2cell(tbigint) returning tbigint, the operand type standing in for the one the generator has no accessor to name. ts2cell and s2cell join KNOWN_FAMILIES and not REGISTERED_FAMILIES, the pair that states a family MobilityDB publishes and the binding does not register yet, so supported() answers unregistered-family:ts2cell for both conversions while the registered tbigint_to_tquadbin sibling stays emittable. raquet stays out of the pair: src/raster/raquet.cpp registers that type, so naming it would reject functions that build today.

The family gate rejects a function by the family tokens of its NAME, and it
can only reject a token it knows. The S2 cell index family is absent from
that vocabulary, so tbigint_to_ts2cell reads as a tbigint function — its
other token is a registered family — and passes.

What passes is emitted: a call to a MEOS symbol no included header declares,
which the extension fails to compile, and a registration of ts2cell(tbigint)
returning tbigint, the operand type standing in for the one the generator has
no accessor to name.

ts2cell and s2cell join KNOWN_FAMILIES and not REGISTERED_FAMILIES, the pair
that states a family MobilityDB publishes and the binding does not register
yet, so supported() answers unregistered-family:ts2cell for both conversions
while the registered tbigint_to_tquadbin sibling stays emittable.
@estebanzimanyi
estebanzimanyi merged commit 3d5dc09 into MobilityDB:main Aug 28, 2026
10 checks passed
@estebanzimanyi
estebanzimanyi deleted the fix/gate-knows-the-s2-family branch August 28, 2026 12:50
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