v.23.7New Feature

Add RowBinaryWithDefaults format with default value flags

Add RowBinaryWithDefaults format with extra byte before each column as a flag for using the column's default value. Closes #50854. #51695 (Kruglov Pavel).
Introduces the RowBinaryWithDefaults format that includes an extra byte before each column indicating whether to use the column's default value.

Why it matters

This feature allows efficient serialization and deserialization of data by signaling when columns should fallback to their default values, improving handling of defaulted columns in row-based binary formats.

How to use it

Use the RowBinaryWithDefaults format for input or output operations where you want ClickHouse to automatically substitute default values for columns based on the extra flag byte. Specify the format in queries or client tools supporting custom formats.