Hey guys,
I am having some trouble building a script that gets the count of domain addresses of my user base, how would I do that?
{id:1, email:‘test@gmail.com’}
{id:2, email:‘test2@gmail.com’}
{id:3, email:‘test3@example.com’}
I kinda need to aggregate down enough so that it shows
{gmail.com:2, example.com:1}
Been googling a lot, find one for mapreduce but it’s already been deprecated.