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

Implement Dataset.toJson

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 3.4.0
    • None
    • Connect
    • None

    Description

      Implement Dataset.toJSON:

       

      /**
      * Returns the content of the Dataset as a Dataset of JSON strings.
      * @since 3.4.0
      */
      def toJSON: Dataset[String]

       

      Please see if we can implement this using project(to_json(struct)).as(StringEncoder).

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            hvanhovell Herman van Hövell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: