The grid (core) ยท console.warn
a "{op}" condition reached the DuckDB adapte...
Printed by The grid (core), prefixed [lattice], since 1.73.0.
Warnings reference › source.duckdb.spatial.module.*
- Identifier
source.duckdb.spatial.module.*- Raised by
- The grid (core)
- Since
- 1.73.0
What happened
The spatial operators belong to the geometry column type, which is an opt-in module. Without it the grid refuses a spatial condition and duckdbAdapter({ spatial }) does not declare the operators; a condition handed to the adapter directly (sqlFor, execute) compiles to FALSE rather than being pushed.
The fix
Import the geometry module before building the grid, and declare the column type: 'geometry'.
The smallest fix
import '@toclocoinc/lattice-grid/modules/geometry';
Reference
Covered in full at the API reference.