paleolimbot opened a new issue, #782: URL: https://github.com/apache/sedona-db/issues/782
After https://github.com/apache/sedona-db/pull/775 we have a geography join! To get things working right away I didn't do anything special for wraparound rectangles in the `EvaluatedGeometryArray` except set the longitude extent to the full longitude range (-180 to 180) if they show up. The index itself is fairly well equipped to deal with this...it deduplicates build indices on the way out of the index such that a query that intersects both the east and west halves of the wraparound box shows up once in the result. We might want to pawn off that deduplication to the refiners since it might not apply to anything except a geography join, or conversely, we might want to do a better job doing wraparound bounding on geometries (there is a mechanism to do this in sedona-geometry or arrow-rs, I forget where exactly I put it). One place that the rectangles from the EvaluatedGeometryArray are explicitly used is to divvy up geometries into partitions for the out of core join. This function would have to be made wraparound-aware. We would also have to make sure that when inserting into the index that a wraparound box is inserted twice. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
