mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-18 08:55:41 +00:00
When using --fr (regex field selector) with stats1 -a null_count, void (empty) field values were unconditionally skipped in ingestWithValueFieldRegexes, causing null_count to always report 0. The non-regex path (ingestWithoutValueFieldRegexes) already had a special case that allows void values through for null_count accumulators. This commit adds the same exception to the regex path. Fixes #1639 Co-authored-by: cobyfrombrooklyn-bot <cobyfrombrooklyn-bot@users.noreply.github.com>
50 B
50 B
| 1 | Id | Type | Other Type | Number |
|---|---|---|---|---|
| 2 | a | foo | 1 | |
| 3 | b | bar | 2 | |
| 4 | c | 1 |