Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27422

Agg Pipeline return none type on from AVG func - is it working differently in 3.08 v 3.2.11

    • Type: Icon: Question Question
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Environment:
      3.2.11

      Same exact code run from Python IDE and same data (copy) in Mongo 3.08 v 3.2.11 is yielding different results. The agg pipeline has an AVG function and the results are feed into a round function. When I run v. the upgraded database (same exact python code), I get none type from the agg pipeline. When I run v. legacy, I don't -> I get float types.

        1. slocIntToHour.py
          45 kB
          Richard Bowyer

            Assignee:
            Unassigned Unassigned
            Reporter:
            bowyerr Richard Bowyer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: