Files
lancedb/rust
lancedb-gatefixer[bot]andXuanwo 8c9ba71add fix: register Lance SQL functions for RTE filters (#3794)
<!-- lance-gatekeeper-fix:v1 agent=d1262fd0aeb86548a3550f636fffe0cc
generation=1 -->

Embedded RTE queries parse SQL filters in a separate DataFusion context.
Register Lance's SQL functions in that context so a filter such as
`ST_Distance(...) <= radius` resolves as it does in an ordinary Embedded
scan.

The Rust regression checks an inclusive distance filter against rows in
the base table and the active MemTable with the `geo` feature enabled.

This builds on [Gatefixer's original
contribution](https://github.com/lancedb/lancedb/commit/e459892bb5ee611daf53fe5e61d51aeb70e41dd5).

---------

Co-authored-by: Gatefixer <313497061+lancedb-gatefixer[bot]@users.noreply.github.com>
Co-authored-by: Xuanwo <github@xuanwo.io>
2026-12-02 15:58:28 +08:00
..