Description
This would be nice to do (in Python):
from pyspark.mllib.util import MLUtils data = MLUtils.loadLibSVMFile(sc, "data/mllib/sample_libsvm_data.txt") data.toDF().toJSON().count()
But UDTs are not yet supported in JSON. It would be nice to add.
Attachments
Issue Links
- is related to
-
SPARK-10632 Cannot save DataFrame with User Defined Types
- Resolved
-
SPARK-9581 Add test for JSON UDTs
- Resolved
- links to