Closed henridf closed 4 years ago
Verified in zq
commit 4bce00d
. Now the same input gives us the expected syntax error.
$ zq -t input.tzng
input.tzng: format detection error
tzng: line 1: syntax error parsing type string
zeek: line 2: bad types/fields definition in zeek header
ndjson: line 1: Unknown value type
zjson: line 1: invalid character '#' looking for beginning of value
zng: malformed zng record
parquet: auto-detection not supported
Thanks @mccanne!
The tzng reader reads the above record as having a single field named
record[s:
. This would be technically correct if there wasn't the trailing]
, but with it present, the typedef line should be a syntax error.