Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
davies committed Oct 1, 2014
1 parent ff88bec commit 7797c70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class PythonTransformedDStream (parent: DStream[_], @transient pfunc: PythonTran
// try to use the result as a template
r.get match {
case pyrdd: PythonRDD =>
if (pyrdd.parent(0) == rdd) {
if (pyrdd.firstParent == rdd) {
// only one PythonRDD
lastResult = pyrdd
} else {
Expand Down

0 comments on commit 7797c70

Please sign in to comment.