feat(vortex-geo): add area scalar function - #9203
Conversation
Merging this PR will improve performance by 43.62%
Performance Changes
Tip Curious why this is faster? Comment Comparing Footnotes
|
9ba67c9 to
ecd0e75
Compare
ecd0e75 to
13646f3
Compare
13646f3 to
0ab5a9b
Compare
0ab5a9b to
7040417
Compare
7040417 to
c6fd58a
Compare
c6fd58a to
40f4666
Compare
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
Signed-off-by: Nemo Yu <zyu379@wisc.edu>
40f4666 to
90ee99b
Compare
Summary
GeoAreascalar function backed bygeo::Area::unsigned_arearstestfor clearer per-dtype failures and broader operand-order coverageSemantics
This follows DuckDB
ST_Areasemantics over the native Vortex geometry types: point and line families return zero, polygon holes are subtracted, multipolygon component areas are summed, rectangles use width times height, and higher coordinate dimensions are ignored. WKB remains excluded because it is a storage representation rather than a native decoded geometry.