You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "Rich-T-kid (via GitHub)" <gi...@apache.org> on 2026/09/19 20:20:26 UTC

[I] FilterExec: fuse filter and coalesce to avoid intermediate RecordBatch allocation [datafusion]

Rich-T-kid opened a new issue, #25512:
URL: https://github.com/apache/datafusion/issues/25512

   `FilterExec` currently calls `filter_record_batch` and then pushes the result into `LimitedBatchCoalescer`, materializing an intermediate filtered `RecordBatch` on every batch.
   
   Arrow's `BatchCoalescer` exposes `push_batch_with_filter` which can fuse the two steps and avoid that allocation when its internal conditions are met.
   
   `LimitedBatchCoalescer` should expose the same API so `FilterExec` can use it directly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] FilterExec: fuse filter and coalesce to avoid intermediate RecordBatch allocation [datafusion]

Posted by "jayzhan211 (via GitHub)" <gi...@apache.org>.
jayzhan211 closed issue #25512: FilterExec: fuse filter and coalesce to avoid intermediate RecordBatch allocation
URL: https://github.com/apache/datafusion/issues/25512


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org