Add $geometry tests#220
Conversation
Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
…rity, removed out of scope cases Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (test-coverage); effort from diff stats (1363+0 LOC, 7 files); LLM: Adds new compatibility test coverage for the $geometry geospatial specifier, expanding test-coverage under documentdb_tests/compatibility/tests. If a label is wrong, remove it manually and ping |
Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
eerxuan
left a comment
There was a problem hiding this comment.
Most of the test cases are testing $geometry's container like $geoWithin or $geoIntersects. Those are duplication. This folder should focus on $geometry input validation and GeoJson types. Just use one container in command ($geoIntersects"), don't use others.
Signed-off-by: PatersonProjects <keldonhoff@gmail.com>
|
All tests now use geoIntersects, removed the index test file as that is out of scope for geometry, some of the tests like point boundaries are arguably also out of scope, but they do require geometry's use and it looks like PR #232 for geoIntersects does not duplicate them so I've kept them here for now. |
This PR adds the compatibility test for the $geometry geospatial specifier
Ref: Issue #32