v.22.12Improvement

Add input_format_max_binary_string_size setting for RowBinary format

Add a new setting input_format_max_binary_string_size to limit string size in RowBinary format. #43842 (Kruglov Pavel).
Added a new setting input_format_max_binary_string_size to limit the maximum string size when parsing data in the RowBinary input format.

Why it matters

This feature addresses the need to control and restrict the size of strings processed in the RowBinary format, preventing excessively large strings from causing memory or performance issues during data ingestion.

How to use it

Users can enable this feature by setting the input_format_max_binary_string_size parameter to the desired maximum string size limit in their session or query settings, for example:

SET input_format_max_binary_string_size = 1048576;

This setting will cap the maximum string size allowed in RowBinary input format parsing.