Description
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.
Attachments
Issue Links
- relates to
-
SPARK-11003 Allowing UserDefinedTypes to extend primatives
- Resolved
- links to