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

Support nested column in Spark vectorized readers

    XMLWordPrintableJSON

Details

    • Umbrella
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • 3.2.0
    • None
    • SQL
    • None

    Description

      This is the umbrella task to track the overall progress. The task is to support nested column type in Spark vectorized reader, namely Parquet and ORC. Currently both Parquet and ORC vectorized readers do not support nested column type (struct, array and map). We implemented nested column vectorized reader for FB-ORC in our internal fork of Spark. We are seeing performance improvement compared to non-vectorized reader when reading nested columns. In addition, this can also help improve the non-nested column performance when reading non-nested and nested columns together in one query.

       

      Parquet: https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala#L173

       

      ORC:

      https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/orc/OrcFileFormat.scala#L138

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            chengsu Cheng Su
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: