Yes that's a typo. The API docs and source code are correct though.
http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.rdd.PairRDDFunctions
That and your IDE should show the correct signature. You can open a PR
to fix the typo in
cogroup() function seems to return (K, (IterableV, IterableW)), rather than
(K, IterableV, IterableW), as it is pointed out in the docs (at least for
version 1.1.0):
https://spark.apache.org/docs/1.1.0/programming-guide.html
https://spark.apache.org/docs/1.1.0/programming-guide.html
This