Add support for "NaN" in the aggregation builder

XMLWordPrintableJSON

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

      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
              Reporter:
              Daniel Coupal
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: