diff options
author | Cheng Lian <lian.cs.zju@gmail.com> | 2014-06-02 12:09:43 -0700 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2014-06-02 12:09:52 -0700 |
commit | 8857489da6cb407ef9a6580ddd243038a4941a53 (patch) | |
tree | b3b8a082992c6da35cfabfdf7756fd7b4865d67d /sql/hive | |
parent | af73922127b04287cc2b72382d2060c56bab3ada (diff) | |
download | spark-8857489da6cb407ef9a6580ddd243038a4941a53.tar.gz spark-8857489da6cb407ef9a6580ddd243038a4941a53.tar.bz2 spark-8857489da6cb407ef9a6580ddd243038a4941a53.zip |
[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.
Author: Cheng Lian <lian.cs.zju@gmail.com>
Closes #939 from liancheng/spark-1958 and squashes the following commits:
bdc4a14 [Cheng Lian] Copy rows to present immutable data to users
8250976 [Cheng Lian] Added return type explicitly for public API
192a25c [Cheng Lian] [SPARK-1958] Calling .collect() on a SchemaRDD should call executeCollect() on the underlying query plan.
(cherry picked from commit d000ca98a80986ff5b13477547f1dcab7856ae63)
Signed-off-by: Reynold Xin <rxin@apache.org>
Diffstat (limited to 'sql/hive')
0 files changed, 0 insertions, 0 deletions