mirror of
https://github.com/lancedb/lancedb.git
synced 2026-12-03 07:45:17 +00:00
<!-- 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>