[SERVER-67479] Query analysis should fail if querying for constant outside of the bounds of the index Created: 23/Jun/22 Updated: 29/Oct/23 Resolved: 23/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Davis Haupt (Inactive) | Assignee: | Davis Haupt (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | QO 2022-08-22 |
| Participants: |
| Description |
|
Encrypted fields always have a min and max bounds for range indexes. Query analysis should fail when querying for a value outside of this range. Example, let's say age has a min of 0 and a max of 200. Here are some queries that should fail at analysis-time:
|
| Comments |
| Comment by Githook User [ 23/Aug/22 ] |
|
Author: {'name': 'Reilly McBride', 'email': 'reilly.mcbride@mongodb.com'}Message: Co-authored-by: Davis Haupt <davis.haupt@mongodb.com> |