spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewo...@apache.org
Subject spark git commit: [SPARK-11746][CORE] Use cache-aware method dependencies
Date Thu, 19 Nov 2015 22:56:16 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-1.6 d087acadf -> baae1ccc9


[SPARK-11746][CORE] Use cache-aware method dependencies

a small change

Author: hushan <hushan@xiaomi.com>

Closes #9691 from suyanNone/unify-getDependency.

(cherry picked from commit 01403aa97b6aaab9b86ae806b5ea9e82690a741f)
Signed-off-by: Andrew Or <andrew@databricks.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/baae1ccc
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/baae1ccc
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/baae1ccc

Branch: refs/heads/branch-1.6
Commit: baae1ccc9746c9a3a120638b407b2a63444989fa
Parents: d087aca
Author: hushan <hushan@xiaomi.com>
Authored: Thu Nov 19 14:56:00 2015 -0800
Committer: Andrew Or <andrew@databricks.com>
Committed: Thu Nov 19 14:56:09 2015 -0800

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/rdd/PartitionPruningRDD.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/baae1ccc/core/src/main/scala/org/apache/spark/rdd/PartitionPruningRDD.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/rdd/PartitionPruningRDD.scala b/core/src/main/scala/org/apache/spark/rdd/PartitionPruningRDD.scala
index d6a37e8..0c6ddda 100644
--- a/core/src/main/scala/org/apache/spark/rdd/PartitionPruningRDD.scala
+++ b/core/src/main/scala/org/apache/spark/rdd/PartitionPruningRDD.scala
@@ -65,7 +65,7 @@ class PartitionPruningRDD[T: ClassTag](
   }
 
   override protected def getPartitions: Array[Partition] =
-    getDependencies.head.asInstanceOf[PruneDependency[T]].partitions
+    dependencies.head.asInstanceOf[PruneDependency[T]].partitions
 }
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message