Lattice Grid Buy a licence

The grid (core) ยท console.warn

a "{op}" filter condition cannot be written ...

Printed by The grid (core), prefixed [lattice], since 1.74.0.

Warnings reference › source.duckdb.filter.refuse.*

Identifier
source.duckdb.filter.refuse.*
Raised by
The grid (core)
Since
1.74.0

What happened

filtersToSql used to fold a leaf it could not translate into the same empty string an empty group legitimately produces, then drop it from its parent and/or join - narrowing or widening the query past what the filter asked. It now throws instead. The ordinary pushdown path, whose splitFilters already keeps an unsupported operator out of what reaches this function via the adapter's declared capabilities.operators, is unaffected; this fires only when filtersToSql is handed a tree containing an operator duckdbAdapter does not express directly.

The fix

Use only the operators duckdbAdapter declares (capabilities.operators), or fetch through a source that splits the filter into pushed and residual halves before calling filtersToSql.

Reference

Covered in full at the API reference.