My code question, groupBy and reduceByKey stuff

Note that email addresses may contain multiple ‘@’, e.g. with quoted local part. In production code, you’ll probably also want to guard against malformed input in general.

2 Likes