Github user srowen commented on the pull request:

    https://github.com/apache/spark/pull/8881#issuecomment-142854071
  
    @jhu-chang you can write application logic that selectively performs 
additional operations or not on an RDD depending on whether it's empty. It's 
just an if statement.
    
    Why would the lineage of the empty RDD matter? indeed, it's better if it's 
known to be empty without recomputing anything. Why would something not be 
computed -- the point is that you're deciding how to continue based on the 
result of some RDD that _was_ computed.


---
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]

Reply via email to