v.21.1Improvements

Added Offset to Exception Message for Parallel Parsing

Added an offset to exception message for parallel parsing. This fixes #17457. #17641 (Nikita Mikhaylov).
Added an offset to exception messages during parallel parsing in ClickHouse.

Why it matters

This feature improves error diagnostics by showing the exact position (offset) in the input where a parsing error occurs when queries are parsed in parallel. It resolves issue #17457, making it easier for users to identify and fix syntax errors in their queries.

How to use it

The feature is applied automatically in ClickHouse; users will see enhanced exception messages with the offset details during parallel query parsing without requiring any additional configuration.