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

Reuse orcSchema when push down Orc predicates

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • SQL
    • None

    Description

      `OrcUtils.readCatalystSchema` method will trigger a file IO to read `orcSchema` when Orc pushes down predicates.

      After SPARK-37463:

      • For `OrcPartitionReaderFactory`  we can achieve the same goal by moving `OrcFile.createReader` before `pushDownPredicates`.

      Attachments

        Activity

          People

            LuciferYang Yang Jie
            LuciferYang Yang Jie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: