Kevin Chen created SPARK-14054:
----------------------------------

             Summary: Support parameters for UDTs
                 Key: SPARK-14054
                 URL: https://issues.apache.org/jira/browse/SPARK-14054
             Project: Spark
          Issue Type: New Feature
          Components: SQL
    Affects Versions: 1.6.1
            Reporter: Kevin Chen
            Priority: Minor


Currently UDTs with parameters, e.g. generic types are not supported. Json 
serialized UDTs are instantiated with reflection by a parameter-less 
constructor (DataType.fromJson). This means a user needs to create a separate 
UDT for types that differ only in generic types, e.g. one backed by a list of 
string and another backed by a list of integer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to