Re: small error in the docs?

2015-01-15 Thread Sean Owen
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
https://spark.apache.org/docs/latest/programming-guide.html

On Thu, Jan 15, 2015 at 4:43 PM, kirillfish k.rybac...@datacentric.ru wrote:
 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

 This simple discrepancy costed to me half a day of debug and frustration.
 Kirill

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



small error in the docs?

2015-01-15 Thread kirillfish
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 simple discrepancy costed to me half a day of debug and frustration.
Kirill