[ https://issues.apache.org/jira/browse/SPARK-6126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin resolved SPARK-6126. -------------------------------- Resolution: Fixed Assignee: Nathan Howell Fix Version/s: 1.5.0 This is already done. Going to open a new ticket to add a test case for this. > Support UDTs in JSON > -------------------- > > Key: SPARK-6126 > URL: https://issues.apache.org/jira/browse/SPARK-6126 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 1.3.0 > Reporter: Joseph K. Bradley > Assignee: Nathan Howell > Fix For: 1.5.0 > > > This would be nice to do (in Python): > {code} > from pyspark.mllib.util import MLUtils > data = MLUtils.loadLibSVMFile(sc, "data/mllib/sample_libsvm_data.txt") > data.toDF().toJSON().count() > {code} > But UDTs are not yet supported in JSON. It would be nice to add. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org