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

Avoid reading Parquet footers on driver side when an global arbitrative schema is available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.0.2, 1.1.1, 1.2.1, 1.3.1
    • 1.5.0
    • SQL
    • None

    Description

      With the help of Parquet MR PR #91 which will be included in the official release of Parquet MR 1.6.0, now it's possible to avoid reading footers on the driver side completely when an global arbitrative schema is available.

      Currently, the global schema can be either Hive metastore schema or specified via data sources DDL. All tasks should verify Parquet data files and reconcile possible schema conflicts locally against this global schema.

      However, when no global schema is available and schema merging is enabled, we still need to read schemas from all data files to infer a valid global schema.

      Attachments

        Issue Links

          Activity

            People

              lian cheng Cheng Lian
              lian cheng Cheng Lian
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: