mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
Fatal-on-data-error mlr -x option (#1373)
* Fatal-on-data-error `mlr -x` option [WIP] * arithmetic.go error-reason propagation * more * more * more * renames * doc page * namefix * fix broken test * make dev
This commit is contained in:
parent
879f272f79
commit
0493a0debd
63 changed files with 1648 additions and 852 deletions
|
|
@ -21,6 +21,6 @@ n,sec,gmt
|
|||
20,2000000000.99900007,2033-05-18T03:33:20.9Z
|
||||
21,2000000000.99999905,2033-05-18T03:33:20.9Z
|
||||
22,2000000001.00000000,2033-05-18T03:33:21.0Z
|
||||
23,,
|
||||
24,x,x
|
||||
25,123x,123x
|
||||
23,,(error)
|
||||
24,x,(error)
|
||||
25,123x,(error)
|
||||
|
|
|
|||
|
|
@ -21,6 +21,6 @@ n,sec,gmt
|
|||
20,2000000000.99900007,2033-05-18T03:33:20.999Z
|
||||
21,2000000000.99999905,2033-05-18T03:33:20.999Z
|
||||
22,2000000001.00000000,2033-05-18T03:33:21.000Z
|
||||
23,,
|
||||
24,x,x
|
||||
25,123x,123x
|
||||
23,,(error)
|
||||
24,x,(error)
|
||||
25,123x,(error)
|
||||
|
|
|
|||
|
|
@ -21,6 +21,6 @@ n,sec,gmt
|
|||
20,2000000000.99900007,2033-05-18T03:33:20.999000Z
|
||||
21,2000000000.99999905,2033-05-18T03:33:20.999999Z
|
||||
22,2000000001.00000000,2033-05-18T03:33:21.000000Z
|
||||
23,,
|
||||
24,x,x
|
||||
25,123x,123x
|
||||
23,,(error)
|
||||
24,x,(error)
|
||||
25,123x,(error)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mlr --itsv --ojson cat ${CASEDIR}/single-column-with-blank.json
|
||||
mlr --itsv --ojson cat ${CASEDIR}/single-column-with-blank.tsv
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
mlr: mlr: TSV header/data length mismatch 1 != 0 at filename test/cases/io-spec-tsv/0004/single-column-with-blank.json line 4.
|
||||
mlr: mlr: TSV header/data length mismatch 1 != 0 at filename test/cases/io-spec-tsv/0004/single-column-with-blank.tsv line 4.
|
||||
.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
[
|
||||
{
|
||||
"a": 1
|
||||
},
|
||||
{
|
||||
"a": 2
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue