Skip to content

Commit

Permalink
[SPARK-5514] DataFrame.collect should call executeCollect
Browse files Browse the repository at this point in the history
Author: Reynold Xin <rxin@databricks.com>

Closes apache#4313 from rxin/SPARK-5514 and squashes the following commits:

e34e91b [Reynold Xin] [SPARK-5514] DataFrame.collect should call executeCollect
  • Loading branch information
rxin committed Feb 3, 2015
1 parent dca6faa commit 8aa3cff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ class DataFrame protected[sql](
/**
* Returns an array that contains all of [[Row]]s in this [[DataFrame]].
*/
override def collect(): Array[Row] = rdd.collect()
override def collect(): Array[Row] = queryExecution.executedPlan.executeCollect()

/**
* Returns a Java list that contains all of [[Row]]s in this [[DataFrame]].
Expand Down

0 comments on commit 8aa3cff

Please sign in to comment.