You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:24:08 UTC

[jira] [Updated] (SPARK-14054) Support parameters for UDTs

     [ https://issues.apache.org/jira/browse/SPARK-14054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-14054:
---------------------------------
    Labels: bulk-closed  (was: )

> 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
>              Labels: bulk-closed
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org