lance-format/lance

Add optimizer rule to change `LanceScanExec -> FilterExec` into `FilteredReadExec`

Open

#5,154 建立於 2025年11月6日

在 GitHub 查看
 (6 留言) (0 反應) (1 負責人)Rust (695 fork)github user discovery
good first issueperformance

倉庫指標

Star
 (6,582 star)
PR 合併指標
 (平均合併 6天 1小時) (30 天內合併 219 個 PR)

描述

There are query plans like this one that could benefit from pushing down the filter:

https://github.com/lancedb/lance/blob/35a0547426c47dd94425619c442dcd03ffd9860c/rust/lance/src/dataset/scanner.rs#L7157-L7158

Note: this will become obsolete if we change Scanner to construct a logical plan using the LanceTableProvider since pushdown can be handled at that layer. However, that's a ways off.

https://github.com/lancedb/lance/blob/35a0547426c47dd94425619c442dcd03ffd9860c/rust/lance/src/datafusion/dataframe.rs#L147-L158

貢獻者指南