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
[P1] [bug] MemoryGuard threshold met but truncation banner blames LIMIT (misleading)
Context
rows_truncated = limit.is_some() && row_count >= limit.unwrap() || mem_guard.triggered() (executor.rs:170). Both reasons share the same rows_truncated: true flag and the same banner copy.
Problem
Per docs/audits/results.md F18.
The banner says "Results truncated to N rows. Add a LIMIT clause to fetch fewer rows." but truncation may have been due to MemoryGuard. Suggesting "Add a LIMIT clause" is misleading: a user who already had LIMIT 10000 will add a larger LIMIT, not realizing the cap is RAM.
Activity
test(query): make the memory-truncation path reachable
test(query): make the memory-truncation path reachable (#630)