v.23.4Improvement

Improved LineAsString Format Handling for DOS and macOS Classic Line Breaks

In previous versions, the LineAsString format worked inconsistently when the parallel parsing was enabled or not, in presence of DOS or macOS Classic line breaks. This closes #49039. #49052 (Alexey Milovidov).
Fixed inconsistencies in the LineAsString format parsing when parallel parsing is enabled, addressing issues with DOS and macOS Classic line breaks.

Why it matters

Previously, the LineAsString format parsed data inconsistently depending on whether parallel parsing was enabled or not, especially in the presence of DOS (\r\n) or macOS Classic (\r) line breaks. This fix ensures consistent and reliable parsing behavior regardless of line break styles and parallel parsing settings, improving data ingestion reliability.

How to use it

Use the LineAsString format as usual in your INSERT or SELECT queries. The fix is applied internally to handle different line breaks correctly when parallel parsing is enabled, requiring no changes in user queries or configurations.