Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-6126

Support UDTs in JSON

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.5.0
    • SQL
    • None

    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

          Activity

            People

              NathanHowell Nathan Howell
              josephkb Joseph K. Bradley
              Yin Huai Yin Huai
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: