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

Improve handling of serialized schema information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • None
    • None
    • SQL
    • None

    Description

      There are several issues with our current handling of metadata serialization, which is especially troublesome since this is the only place that we persist information directly using Spark SQL. Moving forward we should do the following:

      • Relax the parsing so that it does not fail when optional fields are missing (i.e. containsNull or metadata)
      • Include a regression suite that attempts to read old parquet files written by previous versions of Spark SQL.
      • Provide better warning messages when various forms of parsing fail (I think that it is silent right now which makes tracking down bugs more difficult than it needs to be).
      • Deprecate (display a warning) when reading data with the old case class schema representation and eventually remove it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marmbrus Michael Armbrust
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: