Xiangrui Meng created SPARK-7911:
------------------------------------

             Summary: A workaround for VectorUDT serialize (or deserialize) 
being called multiple times
                 Key: SPARK-7911
                 URL: https://issues.apache.org/jira/browse/SPARK-7911
             Project: Spark
          Issue Type: Improvement
          Components: MLlib
    Affects Versions: 1.4.0
            Reporter: Xiangrui Meng
            Assignee: Xiangrui Meng


There are bugs in UDT serialization because we don't have a clear separation 
between internal SQL types and language specific types (including UDT). UDT 
serialize and deserialize may get called twice. A workaround is to accept Row 
in serialize and Vector in deserialize, though this doesn't completely solve 
the issue.



--
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