[COMPASS-4968] Schema analyzer doesn't create geo query Created: 21/Jul/21 Updated: 29/Oct/23 Resolved: 19/Aug/21 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Schema |
| Affects Version/s: | None |
| Fix Version/s: | 1.28.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Rhys Howell | Assignee: | Le Roux Bodenstein |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Documentation Changes: | Not Needed |
| Sprint: | Iteration Ibadan, Iteration Johannesburg |
| Description |
|
Using the citibikes training dataset, the schema analyzer builds a query of `{}` when a circle is created on the map that contains data points. When another circle is added the query resembles the expected output (with $or). This functionality works with the shipwrecks dataset, so it may be that when coordinates are in a form like {type: 'Point', coordinates: [-73.3, 40]}instead of an array it fails to build the initial query. Geojson vs legacy coordinate pair. |