Github user yingjieMiao commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2648#discussion_r18538732
  
    --- Diff: core/src/main/scala/org/apache/spark/rdd/AsyncRDDActions.scala ---
    @@ -84,10 +84,10 @@ class AsyncRDDActions[T: ClassTag](self: RDD[T]) 
extends Serializable with Loggi
               if (results.size == 0) {
                 numPartsToTry = totalParts - 1
    --- End diff --
    
    Sure, I can. The comment says: "If we didn't find any rows after the first 
iteration, just try all partitions next" . I had little context about these 
decisions. But I agree that we should keep logic equivalent in these methods. 


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