Repository navigation
Commit 83935e2
committed
Count valid rows from the validity array's Sum statistic
`valid_count` uses an exact cached `NullCount` first (`len - null count`).
Otherwise, for array-backed validity, it now reads the validity array's
`Sum` statistic, which is the number of valid rows and can be cached or
computed by an encoding kernel, as develop did with the `sum` aggregate.
It counts the bitmap only when the session registers no `Sum` aggregate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ps4mp7KF5c4p66aoSoXx5j
Signed-off-by: Claude <noreply@anthropic.com>1 parent 912f404 commit 83935e2
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
364 | 373 | | |
365 | 374 | | |
366 | 375 | | |
| |||
0 commit comments