diff options
author | Liang-Chi Hsieh <simonh@tw.ibm.com> | 2016-04-28 01:14:49 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2016-04-28 01:14:49 -0700 |
commit | 7c6937a8859ebd3c971116dea54ef380c1636999 (patch) | |
tree | b050e7ece41eed8ee88fb3a982d1707d24e77bf7 /repl | |
parent | bf5496dbdac75ea69081c95a92a29771e635ea98 (diff) | |
download | spark-7c6937a8859ebd3c971116dea54ef380c1636999.tar.gz spark-7c6937a8859ebd3c971116dea54ef380c1636999.tar.bz2 spark-7c6937a8859ebd3c971116dea54ef380c1636999.zip |
[SPARK-14487][SQL] User Defined Type registration without SQLUserDefinedType annotation
## What changes were proposed in this pull request?
Currently we use `SQLUserDefinedType` annotation to register UDTs for user classes. However, by doing this, we add Spark dependency to user classes.
For some user classes, it is unnecessary to add such dependency that will increase deployment difficulty.
We should provide alternative approach to register UDTs for user classes without `SQLUserDefinedType` annotation.
## How was this patch tested?
`UserDefinedTypeSuite`
Author: Liang-Chi Hsieh <simonh@tw.ibm.com>
Closes #12259 from viirya/improve-sql-usertype.
Diffstat (limited to 'repl')
0 files changed, 0 insertions, 0 deletions