diff options
author | Liang-Chi Hsieh <simonh@tw.ibm.com> | 2016-05-11 09:31:22 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2016-05-11 09:31:22 -0700 |
commit | a5f9fdbba3bbefb56ca9ab33271301a2ff0834b5 (patch) | |
tree | aa16e3718d2af592411c18fd67d28a477a3d0e38 /examples/src | |
parent | 427c20dd6d84cb9de1aac322183bc6e7b72ca25d (diff) | |
download | spark-a5f9fdbba3bbefb56ca9ab33271301a2ff0834b5.tar.gz spark-a5f9fdbba3bbefb56ca9ab33271301a2ff0834b5.tar.bz2 spark-a5f9fdbba3bbefb56ca9ab33271301a2ff0834b5.zip |
[SPARK-15268][SQL] Make JavaTypeInference work with UDTRegistration
## What changes were proposed in this pull request?
We have a private `UDTRegistration` API to register user defined type. Currently `JavaTypeInference` can't work with it. So `SparkSession.createDataFrame` from a bean class will not correctly infer the schema of the bean class.
## How was this patch tested?
`VectorUDTSuite`.
Author: Liang-Chi Hsieh <simonh@tw.ibm.com>
Closes #13046 from viirya/fix-udt-registry-javatypeinference.
Diffstat (limited to 'examples/src')
0 files changed, 0 insertions, 0 deletions