Github user srowen commented on the pull request:
https://github.com/apache/spark/pull/5565#issuecomment-94492320
@nkronenfeld that's a good example. `reduceByKey` with a `Partitioner` has
it as the first arg in `RDD` but second in `DStream`. I'm almost sure that was
not intentional. That could be fixed by deprecating the existing method and
introducing the corrected one. If it's purely for consistency, I suppose I'd
shrug at it, whether it's useful.
You're saying it's for a much more important purpose, which is being able
to use the same code consistently between batch and streaming. However I am
still missing why in your example you can't apply the same `PipelineData` to an
`RDD` from `DStream.foreachRDD`, for example, as to any other `RDD`?
---
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]