[COMPASS-4355] $match stage in Aggregation Pipeline builder does not find int64 fields Created: 15/Jul/20  Updated: 29/Oct/23  Resolved: 10/Sep/20

Status: Closed
Project: Compass
Component/s: Aggregation pipeline
Affects Version/s: None
Fix Version/s: 1.23.0

Type: Bug Priority: Major - P3
Reporter: Julia Ruddy (Inactive) Assignee: Maurizio Casimirri
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2020-07-15 at 4.18.10 PM.png     PNG File Screen Shot 2020-10-20 at 4.09.00 PM.png     PNG File Screen Shot 2020-10-20 at 9.58.07 AM.png    
Issue Links:
Depends
Related
is related to MONGOSH-341 Wrong values with NumberLong for num... Closed
Documentation Changes: Not Needed
Sprint: Iteration Jackfruit, Iteration Kiwi, Iteration Lime

 Description   

The aggregation pipeline builder doesn't find the correct documents for $match stages on int64 fields. Attached is a screenshot of an example. I think this may have something to do with the EJSON parsing converting the int64 value to a double along the way as I discovered this bug while working on CLOUDP-66548 which also involved int64s accidentally being converted to doubles.


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