Github user davies commented on the pull request:
https://github.com/apache/spark/pull/1894#issuecomment-52528427
The builtin zip will return the shortest number of items in them, such as
>>> zip(range(3), range(1))
[(0, 0)]
I will look deep in it.
Davies
On Mon, Aug 18, 2014 at 10:31 AM, Josh Rosen <[email protected]>
wrote:
> Sorry to drop the ball on reviewing this.
>
> On StackOverflow, someone has reported an issue where zip() silently
> returns less output than it should:
>
>
>
http://stackoverflow.com/questions/25364380/why-does-zip-truncate-the-data-in-pyspark
>
> Any thoughts on what's happening there? My hunch is that the PythonRDDs
> have the same number of partitions, same number of batches, and same batch
> sizes, but a different grouping of objects across batched elements. As
long
> as you're working on zip() issues, could you take a look at this and maybe
> port their test case?
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/apache/spark/pull/1894#issuecomment-52525986>.
>
--
- Davies
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]