Skip to content

feat(stbox): bind expandSpace overloads for geometry, tgeompoint, tgeogpoint, tgeometry, tgeography#195

Open
estebanzimanyi wants to merge 2 commits into
MobilityDB:feat/parity-h3-static-prefilterfrom
estebanzimanyi:feat/expandspace-tgeo-overloads
Open

feat(stbox): bind expandSpace overloads for geometry, tgeompoint, tgeogpoint, tgeometry, tgeography#195
estebanzimanyi wants to merge 2 commits into
MobilityDB:feat/parity-h3-static-prefilterfrom
estebanzimanyi:feat/expandspace-tgeo-overloads

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

expandSpace(geometry, double), expandSpace(tgeompoint, double), expandSpace(tgeogpoint, double), expandSpace(tgeometry, double), and expandSpace(tgeography, double) each return an STBOX expanded by the given distance on all spatial axes, matching the MobilityDB canonical surface. The implementation converts to STBox via geo_to_stbox or tspatial_to_stbox then delegates to stbox_expand_space — the single kernel stbox_expand_space covers all overloads, exactly as MobilityDB SQL does via cast-to-stbox. Tests for all five new overloads are added to test/sql/stbox.test.

@estebanzimanyi estebanzimanyi force-pushed the feat/expandspace-tgeo-overloads branch 3 times, most recently from 0e68ec0 to f0bd807 Compare June 10, 2026 17:11
@estebanzimanyi estebanzimanyi changed the base branch from main to fix/bump-meos-pin June 10, 2026 17:11
…to 59ba0ad59c

Wire `tfloat_sin`, `tfloat_cos`, `tfloat_tan` from MEOS as `sin(tfloat)`,
`cos(tfloat)`, `tan(tfloat)` DuckDB scalar overloads, following the same
`TemporalUnary` pattern as `exp`/`ln`/`log10`.  The pin advances from
`278863520b` to `59ba0ad59c` (tag `ecosystem-pin-2026-06-11a`), which adds
these three trig kernels and the `ensure_srid_reconcile` helper.
…ogpoint, tgeometry, tgeography

expandSpace(geometry, double), expandSpace(tgeompoint, double),
expandSpace(tgeogpoint, double), expandSpace(tgeometry, double), and
expandSpace(tgeography, double) each return an STBOX expanded by the
given distance on all spatial axes. The implementation follows the
MobilityDB canonical pattern: convert to STBox via geo_to_stbox or
tspatial_to_stbox, then delegate to stbox_expand_space. The single
kernel symbol stbox_expand_space covers all overloads. Tests for all
five new overloads are added to test/sql/stbox.test.
@estebanzimanyi estebanzimanyi force-pushed the feat/expandspace-tgeo-overloads branch from f0bd807 to 2cc91ff Compare June 11, 2026 04:53
@estebanzimanyi estebanzimanyi changed the base branch from fix/bump-meos-pin to feat/parity-h3-static-prefilter June 11, 2026 04:54
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