Closed pkoppstein closed 3 years ago
The --allow-uneven-fields command-line option does not allow jagged input properly, as illustrated by:
--allow-uneven-fields
cat test.tsv | csvq --allow-uneven-fields -i tsv 'select * from STDIN LIMIT 5;' panic: runtime error: slice bounds out of range [:2] with capacity 1
where
$ cat test.tsv a b c 1 2 3 4
The last two lines are both missing two fields.
This bug has been fixed and the fix is included in the version 1.15.2. Thank you.
The
--allow-uneven-fields
command-line option does not allow jagged input properly, as illustrated by:where
The last two lines are both missing two fields.