[SERVER-49208] Implement validation error generation for miscellaneous query operators Created: 30/Jun/20 Updated: 29/Oct/23 Resolved: 14/Aug/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mihai Andrei | Assignee: | Jenny Peshansky (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | qexec-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Query 2020-08-24 |
| Participants: |
| Description |
|
Implement validation error generation for $exists, $type, $expr, $regex, and $mod along with unit tests verifying that generated errors conform to the expected format. The error formats should conform to the formats outlined in the design document. In particular:
Note that similarly, to the comparison operators, for any of these operators to be capable of generating errors, they need to be annotated at parse time with the information necessary to generate a sensible error (namely, the name of the operator and how the operator was specified by the user). |
| Comments |
| Comment by David Storch [ 14/Aug/20 ] |
|
Changed resolution from "Done" to "Fixed". |
| Comment by Githook User [ 07/Aug/20 ] |
|
Author: {'name': 'Jenny Peshansky', 'email': 'jenny.peshansky@mongodb.com', 'username': 'jenniferpeshansky'}Message: |