apache/spark — pull request #939 by liancheng (2014-06-02 03:01:52+00:00)
Title: [SPARK-1958] Calling .collect() on a SchemaRDD should call executeCollect() on the underlying query plan.

In cases like `Limit` and `TakeOrdered`, `executeCollect()` makes optimizations that `execute().collect()` will not.