You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(python): Error during planning: Invalid function 'st_dwithin'. - trying to use ST_DWithin filter #3109
geometry: struct<x: double not null, y: double not null>
child 0, x: double not null
child 1, y: double not null
-- field metadata --
ARROW:extension:name: 'geoarrow.point'
Traceback (most recent call last):
File "/home/azureuser/Database-Maintenance/python-code/repro_geo.py", line 17, in <module>
).to_table()
~~~~~~~~^^
File "/home/azureuser/Database-Maintenance/python-code/.venv/lib/python3.14/site-packages/lance/dataset.py", line 5135, in to_table
return self.to_reader().read_all()
~~~~~~~~~~~~~~^^
File "/home/azureuser/Database-Maintenance/python-code/.venv/lib/python3.14/site-packages/lance/dataset.py", line 5138, in to_reader
return self._scanner.to_pyarrow()
~~~~~~~~~~~~~~~~~~~~~~~~^^
ValueError: Invalid user input: Error parsing function: Error during planning: Invalid function 'st_dwithin'.
Did you mean 'st_within'?, /home/runner/work/lance/lance/rust/lance-datafusion/src/planner.rs:466:87
Hi, this issue is invalid because ST_DWithin is not implemented in released LanceDB (the geo feature is disabled and GeoDataFusion does not expose the function); the blog demo was built on a developer branch, so this is a feature request rather than a bug. I'm closing this now. Feel free to create a new issue if the problem still exists.
Activity
camilesing commentedon Mar 9, 2026
Hi @abgros , by the blog description, the demo was created from developer branch. Demo repo is: https://github.com/ddupg/lance-geo-test/blob/main/src/main.rs, lance dependecy info is
lance = { git = "https://github.com/ddupg/lance", branch = "sx/upgrade-arrow-datafusion" }Xuanwo commentedon Aug 6, 2026
Hi, this issue is invalid because ST_DWithin is not implemented in released LanceDB (the geo feature is disabled and GeoDataFusion does not expose the function); the blog demo was built on a developer branch, so this is a feature request rather than a bug. I'm closing this now. Feel free to create a new issue if the problem still exists.