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

DataSource v2 Scans should not require planning the input partitions on explain

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.5.0
    • SQL
    • None

    Description

      Right now, we will always call `planInputPartitions()` for a DSv2 implementation even if there is no spark job run but only explain.

      We should provide a way to avoid scanning all input partitions just to determine if the input is columnar or not. The scan should provide an override.

      Attachments

        Activity

          People

            grundprinzip-db Martin Grund
            grundprinzip-db Martin Grund
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: