diff options
author | Joan <joan@goyeau.com> | 2016-04-19 17:36:31 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2016-04-19 17:36:31 -0700 |
commit | 3ae25f244bd471ef77002c703f2cc7ed6b524f11 (patch) | |
tree | 6eb824fa2ac7b58c855f606a7a96936c91abbd32 /yarn/src/main/scala/org/apache | |
parent | 10f273d8db999cdc2e6c73bdbe98757de5d11676 (diff) | |
download | spark-3ae25f244bd471ef77002c703f2cc7ed6b524f11.tar.gz spark-3ae25f244bd471ef77002c703f2cc7ed6b524f11.tar.bz2 spark-3ae25f244bd471ef77002c703f2cc7ed6b524f11.zip |
[SPARK-13929] Use Scala reflection for UDTs
## What changes were proposed in this pull request?
Enable ScalaReflection and User Defined Types for plain Scala classes.
This involves the move of `schemaFor` from `ScalaReflection` trait (which is Runtime and Compile time (macros) reflection) to the `ScalaReflection` object (runtime reflection only) as I believe this code wouldn't work at compile time anyway as it manipulates `Class`'s that are not compiled yet.
## How was this patch tested?
Unit test
Author: Joan <joan@goyeau.com>
Closes #12149 from joan38/SPARK-13929-Scala-reflection.
Diffstat (limited to 'yarn/src/main/scala/org/apache')
0 files changed, 0 insertions, 0 deletions