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

Disable Parquet's record-by-record filter in normal parquet reader and do it in Spark-side

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.3.0
    • SQL
    • None

    Description

      Currently, we are pushing filters down for normal Parquet reader which also filters record-by-record.

      It seems Spark-side codegen row-by-row filtering might be faster than Parquet's one in general due to type-boxing and virtual function calls which Spark's one tries to avoid.

      Maybe we should perform a benchmark and disable this. This ticket was from https://github.com/apache/spark/pull/14671

      Please refer the discussion in the PR.

      Attachments

        Activity

          People

            gurwls223 Hyukjin Kwon
            gurwls223 Hyukjin Kwon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: