delta-io/delta

[Feature Request] Skip creating FilteredColumnarBatch in ActiveAddFilesIterator if there is no active AddFiles in the batch

Open

#4941 opened on Jul 17, 2025

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Scala (8,807 stars) (2,100 forks)batch import
enhancementgood first issue

Description

Feature request

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Overview

Today, a FilteredColumnarBatch with no Active AddFiles will be returned as the result of Scan::getScanFiles (also PaginatedScan::getScanFiles() ). We want to skip creating FilteredColumnarBatch in ActiveAddFilesIterator if there is no active AddFiles in the batch.

Motivation

Further details

Willingness to contribute

The Delta Lake Community encourages new feature contributions. Would you or another member of your organization be willing to contribute an implementation of this feature?

  • Yes. I can contribute this feature independently.
  • Yes. I would be willing to contribute this feature with guidance from the Delta Lake community.
  • No. I cannot contribute this feature at this time.

Contributor guide