spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <so...@cloudera.com>
Subject Re: small error in the docs?
Date Thu, 15 Jan 2015 16:59:42 GMT
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.rybachuk@datacentric.ru> wrote:
> cogroup() function seems to return (K, (Iterable<V>, Iterable<W>)), rather
> than (K, Iterable<V>, Iterable<W>), 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-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message