DocsWorkflowsComponentsDatadata:csv:chunk

data:csv:chunk

Splits a large CSV file into smaller chunk files of a fixed row count

Options

NameTypeDescription
input_filestringPath to the CSV file to split
output_filestringBase path used to derive chunk file names
output_file_prefixstringPrefix prepended to each chunk file name (defaults to "chunk_")
output_separatorstringField separator for output chunk files
sizeintNumber of data rows per chunk
headerboolWhen true, the header row is written to every chunk file

Outputs

NameTypeDescription
files[]stringList of paths for the created chunk files
chunksintTotal number of chunk files created
recordsintTotal number of data rows split across all chunks