[SERVER-27423] CLONE - Agg Pipeline return none type on from AVG func - is it working differently in 3.08 v 3.2.11 Created: 14/Dec/16  Updated: 15/Dec/16  Resolved: 15/Dec/16

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Richard Bowyer Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

3.2.11


Attachments: File slocIntToHour.py    
Issue Links:
Duplicate
duplicates SERVER-27422 Agg Pipeline return none type on from... Closed
Participants:

 Description   

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.



 Comments   
Comment by Kelsey Schubert [ 15/Dec/16 ]

Hi bowyerr,

I've replied on SERVER-27422, and am closing this as a duplicate. It's easier for everyone to follow if we keep the discussion on a single ticket.

Thank you,
Thomas

Comment by Richard Bowyer [ 14/Dec/16 ]

I've cloned this issue as the original issue should NOT have been closed.
NO explanation was given as to the change of behavior or how to mitigate it.

Generated at Thu Feb 08 04:15:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.