Github user harishreedharan commented on the pull request:
https://github.com/apache/spark/pull/8881#issuecomment-142656310
Looking at it again, @srowen is right. Returning `None` makes
`getOrCompute` think that no RDDs have been generated for a given time
(artifact of the fact that `None` is returned when a map has no value for a
key). So this really is case of returning an empty RDD from your function.
---
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]