Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3843

Add support for "NaN" in the aggregation builder

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.20.0
    • Affects Version/s: None
    • Component/s: Aggregation pipeline
    • None
    • Iteration Newt

      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.

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            daniel.coupal@mongodb.com Daniel Coupal
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: