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

    https://github.com/apache/spark/pull/8511#discussion_r38269140
  
    --- Diff: 
core/src/main/scala/org/apache/spark/rdd/ZippedPartitionsRDD.scala ---
    @@ -134,6 +143,7 @@ private[spark] class ZippedPartitionsRDD4
       extends ZippedPartitionsBaseRDD[V](sc, List(rdd1, rdd2, rdd3, rdd4), 
preservesPartitioning) {
     
       override def compute(s: Partition, context: TaskContext): Iterator[V] = {
    +    tryPrepareChildren()
    --- End diff --
    
    instead of duplicating this, can we make `compute` in the base class 
`final`, and have it call a `protected def doCompute` that the subclasses 
override?


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