This commit is contained in:
John Kerl 2022-12-29 12:30:47 -07:00 committed by GitHub
parent a55e78c45a
commit 7bf358e497
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 6 deletions

View file

@ -178,12 +178,6 @@ func getRecordBatchExplicitTSVHeader(
}
}
if line == "" {
// Reset to new schema
reader.headerStrings = nil
continue
}
fields := reader.fieldSplitter.Split(line)
if reader.headerStrings == nil {

View file

@ -0,0 +1 @@
mlr --itsv --ojson cat ${CASEDIR}/single-column-with-blank.json

View file

@ -0,0 +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.
.

View file

View file

View file

@ -0,0 +1,6 @@
a
1
2
4
5