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

CLONE - 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: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 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: