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

Rebuild the schema from a GenericRow

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • SQL
    • None

    Description

      Sometimes we need the schema of the row, but GenericRow doesn't contain schema information. So we need a method such as
      val schema = ScalaReflection.rebuildSchema(row)

      Attachments

        Activity

          People

            Unassigned Unassigned
            smacat Chen Song
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: