You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2016/03/17 01:00:36 UTC
[jira] [Updated] (SPARK-11011) UserDefinedType serialization should
be strongly typed
[ https://issues.apache.org/jira/browse/SPARK-11011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiangrui Meng updated SPARK-11011:
----------------------------------
Assignee: Jakob Odersky
> UserDefinedType serialization should be strongly typed
> ------------------------------------------------------
>
> Key: SPARK-11011
> URL: https://issues.apache.org/jira/browse/SPARK-11011
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 1.5.0, 1.5.1
> Reporter: John Muller
> Assignee: Jakob Odersky
> Priority: Minor
> Labels: UDT
> Fix For: 2.0.0
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> UDT's serialize method takes an Any rather than the actual type parameter. The issue lies in CatalystTypeConverters convertToCatalyst(a: Any): Any method, which pattern matches against a hardcoded list of built-in SQL types.
> Planned fix is to allow the UDT to supply the CatalystTypeConverter to use via a new public method on the abstract class UserDefinedType that allows the implementer to strongly type those conversions
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org