v.20.10New Feature
Add LineAsString format for parsing sequences of lines as single String fields
Add format LineAsString that accepts a sequence of lines separated by newlines, every line is parsed as a whole as a single String field. #14703 (Nikita Mikhaylov), #13846 (hexiaoting).Why it matters
This feature allows users to easily parse data where each line is intended to be a whole string without further splitting or parsing. It simplifies ingestion of raw line-separated text data into ClickHouse by automatically treating each line as a single string value.How to use it
Use theLineAsString format when importing data via queries like INSERT INTO table FORMAT LineAsString. Each line in the input will be ingested as one string field.