Skip to content

feat(vortex-geo): add native Hilbert scalar function - #9154

Open
HarukiMoriarty wants to merge 2 commits into
developfrom
nemo/geo-st-namespace
Open

feat(vortex-geo): add native Hilbert scalar function#9154
HarukiMoriarty wants to merge 2 commits into
developfrom
nemo/geo-st-namespace

Conversation

@HarukiMoriarty

@HarukiMoriarty HarukiMoriarty commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • move existing spatial scalar function IDs from vortex.geo.* to vortex.st.* while retaining vortex.geo.hilbert for the reusable native kernel
  • add a fused vortex.geo.hilbert(geometry) to u32 scalar kernel over native GeoArrow storage
  • calculate envelope centers without materializing a box column or decoding WKB
  • treat nulls, empty list-backed geometries, and GeoArrow POINT EMPTY (NaN, NaN) as null keys

Signed-off-by: Nemo Yu <zyu379@wisc.edu>
@HarukiMoriarty HarukiMoriarty added the changelog/docs A docs change label Aug 3, 2026
@codspeed-hq

codspeed-hq Bot commented Aug 3, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 14.81%

⚡ 3 improved benchmarks
✅ 1839 untouched benchmarks
⏩ 44 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation new_raw_prim_test_between[i32, 2048] 89.7 µs 76.7 µs +16.92%
Simulation execute_scalar_struct_simple 1.2 ms 1.1 ms +14.34%
Simulation execute_scalar_struct_wide 5.7 ms 5 ms +13.2%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing nemo/geo-st-namespace (81828dc) with develop (fd43ebd)2

Open in CodSpeed

Footnotes

  1. 44 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on develop (bc9aa10) during the generation of this report, so fd43ebd was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Signed-off-by: Nemo Yu <zyu379@wisc.edu>
@HarukiMoriarty HarukiMoriarty changed the title refactor(vortex-geo): namespace spatial scalar functions feat(vortex-geo): add native Hilbert scalar function Aug 4, 2026
@HarukiMoriarty HarukiMoriarty added changelog/feature A new feature and removed changelog/docs A docs change labels Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant