You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Calculate Field counts selected rows the layer no longer has in its notices #2838
calculate_field (crates/engine/src/cmd/edit.rs:1597) passes every selected index to evaluate, including ones past the layer's end. Nothing is written to them (original.get(r) at edit.rs:1604), but losses.write counts them: they read as null, so a notice can say "is null in N rows" or list a division by zero for a row that doesn't exist, and {"rows": n} counts them too. Filtering the selection to existing rows fixes both; the rows answer would then change for callers (CLI, Python, MCP). The preview already skips such rows (#2822).
Activity