[COMPASS-3069] For a developer, aggregation pipeline error messages from the server could be more intuitive Created: 16/Aug/18  Updated: 01/Mar/19  Resolved: 22/Jan/19

Status: Closed
Project: Compass
Component/s: Aggregation pipeline, Compass, UI / UX
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Major - P3
Reporter: Brian Blevins Assignee: Lucas Hrabovsky (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2018-08-16-10-47-12-883.png    
Issue Links:
Related
related to COMPASS-2884 Make agg pipeline syntax error messag... Closed
Epic Link: COMPASS-3220
Documentation Changes Summary:

Dupe of COMPASS-2888


 Description   

The attached error message is not intuitive. The error occurs because the server is version 3.6 and not 4.0 and the agg operator was introduced in 4.0. However, the error message seems to suggest that a parsing error occurred in Compass.

Unrecognized expression `$toInt`

One way to improve these error messages would be to prepend a reference to the database server for those errors originating from the server.

Database server reported the error: Unrecognized expression `$toInt`


Generated at Wed Feb 07 22:32:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.