spark-instrumented-optimizer/R/pkg
Josh Rosen 99436bd040 [SPARK-7687] [SQL] DataFrame.describe() should cast all aggregates to String
In `DataFrame.describe()`, the `count` aggregate produces an integer, the `avg` and `stdev` aggregates produce doubles, and `min` and `max` aggregates can produce varying types depending on what type of column they're applied to.  As a result, we should cast all aggregate results to String so that `describe()`'s output types match its declared output schema.

Author: Josh Rosen <joshrosen@databricks.com>

Closes #6218 from JoshRosen/SPARK-7687 and squashes the following commits:

146b615 [Josh Rosen] Fix R test.
2974bd5 [Josh Rosen] Cast to string type instead
f206580 [Josh Rosen] Cast to double to fix SPARK-7687
307ecbf [Josh Rosen] Add failing regression test for SPARK-7687

(cherry picked from commit c9fa870a6d)
Signed-off-by: Reynold Xin <rxin@databricks.com>
2015-05-18 21:53:52 -07:00
..
inst [SPARK-7687] [SQL] DataFrame.describe() should cast all aggregates to String 2015-05-18 21:53:52 -07:00
R [SPARK-7226] [SPARKR] Support math functions in R DataFrame 2015-05-15 14:06:39 -07:00
src [SPARK-5654] Integrate SparkR 2015-04-08 22:45:40 -07:00
tests [SPARK-5654] Integrate SparkR 2015-04-08 22:45:40 -07:00
DESCRIPTION [SPARK-6824] Fill the docs for DataFrame API in SparkR 2015-05-08 11:25:20 -07:00
NAMESPACE [SPARK-7226] [SPARKR] Support math functions in R DataFrame 2015-05-15 14:06:39 -07:00