Accumulator Stages with $project "-Infinity" returned by db

Hi everyone,

I’m trying to follow lecture 2 in chapter 3 and am getting different result after typing in exactly the same command as shown on the video. I should be getting:

{ “max_high” : 07 }

but instead getting:

{ “max_high” : -Infinity }

my query below:

Screenshot 2020-02-20 at 15.14.09

I would appreciate some insight on this, pls!

Thank you in advance!

another different results:

Screenshot 2020-02-20 at 15.28.29

🤷🏻

Just a small typo @krasy8. It should be avg_high_tmp and not avg_high_temp

1 Like

Wow!

You are honestly a proper “fixer”, Mr Bond!

I have no words, but thank you kindly!

Problem solved!

:slightly_smiling_face: :+1: