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

    https://github.com/apache/spark/pull/1791#discussion_r15955661
  
    --- Diff: python/pyspark/rdd.py ---
    @@ -737,6 +754,19 @@ def _collect_iterator_through_file(self, iterator):
                     yield item
             os.unlink(tempFile.name)
     
    +    def collectPartitions(self, partitions):
    --- End diff --
    
    It will help for debug, you can collect parts of the RDD to investigate 
with them.
    
    It also be helpful if we have an API called slice(start, [end]) to select 
parts of the partitions. DPark has this kind of API, it help us a lot, Narrow 
down the data to do fast debugging.


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