[COMPASS-3843] Add support for "NaN" in the aggregation builder Created: 22/Aug/19  Updated: 29/Oct/23  Resolved: 23/Sep/19

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

Type: Bug Priority: Major - P3
Reporter: Daniel Coupal Assignee: Durran Jordan
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Iteration Newt

 Description   

The following is a valid aggregation query in the Mongo shell:

db.routes.aggregate( [ { "$match" : { "src_airport":  NaN }} ] ) 

However, you can't use NaN in the aggregation builder.
I also tried other Extended JSON v2 syntax without success.


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