aboutsummaryrefslogtreecommitdiff
path: root/R/WINDOWS.md
diff options
context:
space:
mode:
authorSun Rui <rui.sun@intel.com>2015-10-13 10:02:21 -0700
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-10-13 10:02:21 -0700
commit5e3868ba139f5f0b3a33361c6b884594a3ab6421 (patch)
treea37f40a4f112f452f0eba4dd8ac5b9e1eb805e4b /R/WINDOWS.md
parentd0cc79ccd0b4500bd6b18184a723dabc164e8abd (diff)
downloadspark-5e3868ba139f5f0b3a33361c6b884594a3ab6421.tar.gz
spark-5e3868ba139f5f0b3a33361c6b884594a3ab6421.tar.bz2
spark-5e3868ba139f5f0b3a33361c6b884594a3ab6421.zip
[SPARK-10051] [SPARKR] Support collecting data of StructType in DataFrame
Two points in this PR: 1. Originally thought was that a named R list is assumed to be a struct in SerDe. But this is problematic because some R functions will implicitly generate named lists that are not intended to be a struct when transferred by SerDe. So SerDe clients have to explicitly mark a names list as struct by changing its class from "list" to "struct". 2. SerDe is in the Spark Core module, and data of StructType is represented as GenricRow which is defined in Spark SQL module. SerDe can't import GenricRow as in maven build Spark SQL module depends on Spark Core module. So this PR adds a registration hook in SerDe to allow SQLUtils in Spark SQL module to register its functions for serialization and deserialization of StructType. Author: Sun Rui <rui.sun@intel.com> Closes #8794 from sun-rui/SPARK-10051.
Diffstat (limited to 'R/WINDOWS.md')
0 files changed, 0 insertions, 0 deletions