Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/1039#issuecomment-45677035
  
    Hey @GregOwen a couple thoughts.
    
    1. If you run this in the spark shell you'll get examples than from within 
the unit test harness. The issue is that the code we use to detect the "call 
site" of the RDD (the user function that called it) gets messed up when running 
unit tests because they are within the spark package.
    2. I might slightly prefer adding `+` icons next to the main RDD. /cc @rxin 
also who might have some thoughts on this.
    
    ```
    (5) + FlatMappedValuesRDD[321] at apply at Transformer.scala:22
        | MappedValuesRDD[320] at apply at Transformer.scala:22
        | CoGroupedRDD[319] at apply at Transformer.scala:22
        (4) + MappedRDD[318] at apply at Transformer.scala:22
            | MappedRDD[316] at apply at Transformer.scala:22
            | ParallelCollectionRDD[314] at apply at Transformer.scala:22
        (5) + MappedRDD[317] at apply at Transformer.scala:22
            | ParallelCollectionRDD[315] at apply at Transformer.scala:22
        (6) + MappedRDD[317] at apply at Transformer.scala:22
    ```


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

Reply via email to