[SERVER-49210] Implement validation error generation for geospatial and bitwise query operators Created: 30/Jun/20  Updated: 29/Oct/23  Resolved: 13/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: Mindaugas Malinauskas
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-49023 Implement validation error generation... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2020-08-24
Participants:

 Description   

Implement validation error generation for $geoIntersects, $geoWithin, $bitsAllClear, $bitsAllSet, $bitsAnyClear, and $bitsAnySet along with unit tests verifying that generated errors conform to the expected format.

Note that this ticket should involve simply tagging the correct nodes with the proper annotation in 'expression_parser.cpp' and adding appropriate error messages as was done for the comparison operators since the expected format for these operators don't involve adding any operator-specific fields.

Additionally, note that SERVER-49023 changes the interface for error generation as it introduces a stack of frames which allows for nested errors to be generated and as such, the work for this patch should be based on top of the linked commit.



 Comments   
Comment by Githook User [ 13/Aug/20 ]

Author:

{'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}

Message: SERVER-49210 Implement validation error generation for geospatial and bitwise query operators
Branch: master
https://github.com/mongodb/mongo/commit/8ee28b24e37d42511f3e81c4e6283d1535d557a5

Generated at Thu Feb 08 05:19:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.