The grid (core) ยท console.info
stream ingest.useWorker is on but a column reads through a closure (a computed or date column); columnizing on the main thread instead.
Printed by The grid (core), prefixed [lattice], since 1.16.0.
Warnings reference › source.stream.ingest-worker
- Identifier
source.stream.ingest-worker- Raised by
- The grid (core)
- Since
- 1.16.0
What happened
Informational. Columnising off-thread needs a schema that can cross the worker boundary, and a column that reads through a closure - a computed column, or a date column with a toStorage - cannot. The schema will not change mid-stream, so the worker path is ruled out once rather than probed for every chunk, and ingest runs on the main thread.
The fix
Nothing is wrong. To get the off-thread path, express the column's reading declaratively rather than as a function.
Reference
Covered in full at the API reference.