[SERVER-50355] Improve bison error messages for missing named arguments Created: 18/Aug/20  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Participants:

 Description   

When an argument to an operator is missing, the error message is slightly misleading. As an example, for input {pipeline: [{}]} we get the following error:

"syntax error, unexpected end of object at element 'end object' "
"within array at index 0 of input pipeline"

Would be great to detect the expected token or special case this scenario.


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