Skip to main content

CSV

Parses a CSV stream row by row. Each row becomes one message.

FieldTypeDefaultDescription
Custom Delimiterstring,Field separator. Override for TSV (\t) or pipe-delimited files
Parse Header RowbooleantrueUse the first row as field names. When off, rows are emitted as arrays
Lazy QuotesbooleanfalseAllow quotes inside unquoted fields and unescaped quotes inside quoted fields
Continue On ErrorbooleanfalseOn a parsing error, emit an error message and keep going instead of stopping
Expected Headerslist of strings[]Optional. Assert that the header row matches these names exactly. Requires Parse Header Row
Expected Number Of Fieldsinteger0Optional. Assert every row has exactly this many fields. 0 disables the check

Metadata

FieldDescription
csv_rowIndex of each row in the file, starting at 0