apache/spark — pull request #1318 by marmbrus (2014-07-07 18:35:12+00:00)
Title: [SPARK-2391][SQL] Custom take() for LIMIT queries.

Using Spark's take can result in an entire in-memory partition to be shipped in order to retrieve a single row.