The grid (core) ยท console.warn
createPushdownSource needs an `adapter` with an `execute(query)` function.
Printed by The grid (core), prefixed [lattice], since 1.12.1.
Warnings reference › source.pushdown.adapter
- Identifier
source.pushdown.adapter- Raised by
- The grid (core)
- Since
- 1.12.1
What happened
The pushdown source has nothing to push to. A remote source is still returned so the grid builds, and its fetch answers with no rows and a total of zero - the grid is permanently empty.
The fix
Pass an adapter with execute(query) and a capabilities declaration.
The smallest fix
createPushdownSource({ adapter: createDuckdbAdapter({ connection, from: 'orders' }) });
Reference
Covered in full at the API reference.