The grid (core) ยท console.warn
column "{id}" is bitset-backed with no declared row count; assuming {n}
Printed by The grid (core), prefixed [lattice], since 1.0.1.
Warnings reference › count:*
- Identifier
count:*- Raised by
- The grid (core)
- Since
- 1.0.1
What happened
A bitset column packs eight rows per byte, so its length cannot be recovered from the buffer: the last byte may be up to seven rows of padding. With no declared count the kernel assumes the buffer is full, which can overstate the row count by up to seven.
The fix
Declare the row count on the handle (length, or a presence set) when you build a bitset column yourself.
Reference
Covered in full at the API reference.