Lab - Optional Chapter 1 (Aggregation)

Hi!
Could you tell me, what is the difference between placing an intersection operator inside first project stage and put it in the second stage? The sense is in the writers field? If I try to calculate aggregation in the first stage of my script then I will iterate initial writers with wrong format? Thanks.

That’s right! It needs to be broken down first. It’s the logical thing to do as per the requirement. If you don’t break the writers field down, you’ll get less numbers.

I’m guessing you’ve seen the answer and that’s what you’re referring to?

Hi @Di_11074,

You can verify the results by running the pipeline till the first $project stage and then adding subsequent stages to the pipeline.

Please let me know, if you have any questions.

Thanks,
Sonali