ajaypadwal73 opened a new pull request, #1042: URL: https://github.com/apache/sedona-db/pull/1042
Collection containment in tg treated a point target as contained if any flattened child contained it. This made `ST_Contains(GEOMETRYCOLLECTION (POINT (0 0), LINESTRING (0 0, 0 1)), POINT (0 0))` return true via the point child even though GEOS/PostGIS classify that point on the collection boundary. Classify point targets against flattened collection members before falling back to child containment, preserving covers/coveredby behavior while making contains/within respect polygon boundaries and line endpoint parity. Covered by low-level sedona-tg regressions and SQL predicate expectations. Fixes #1035. Tests: `cargo test -p sedona-tg`; `cargo test -p sedona-tg predicates -- --nocapture`; `cargo fmt --check --package sedona-tg`; `git diff --check`. -- 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]
