# RowBinary settings

RowBinary options control name matching, type checking, binary type tags and JSON field representation. The bare format has no header; names and types options affect only the header variants listed below.

Disabling a type check does not make mismatched widths compatible: input still needs a schema that can decode the field bytes. JSON values require the explicit JSON-string modes.

Use a statement `SETTINGS` clause. Defaults in `system.settings` are read-only;
format settings cannot be persisted with `SET`. Put input settings before
`FORMAT`, because the bytes after the format name are input data.

## row_binary_check_types

Type: `Bool`

Default value: `1`

Compare input header types with target types; when off decode matched fields with target widths.

Applies to: `row_binary_with_names_and_types`.

## row_binary_match_names

Type: `Bool`

Default value: `1`

Match input header names ignoring ASCII case; when off read in target column order.

Applies to: `row_binary_with_names`, `row_binary_with_names_and_types`.

## row_binary_max_string_bytes

Type: `UInt64`

Default value: `1073741824`

Maximum bytes in an input variable-length string, including header names and type parameters; 0 disables the limit.

Applies to: `row_binary`, `row_binary_with_names`, `row_binary_with_names_and_types`.

## row_binary_read_binary_types

Type: `Bool`

Default value: `0`

Read type tags and their binary parameters instead of textual type names in the input header.

Applies to: `row_binary_with_names_and_types`.

## row_binary_read_json_strings

Type: `Bool`

Default value: `0`

Read JSON fields as length-prefixed JSON text; binary JSON paths are unsupported.

Applies to: `row_binary`, `row_binary_with_names`, `row_binary_with_names_and_types`.

## row_binary_write_binary_types

Type: `Bool`

Default value: `0`

Write type tags and their binary parameters instead of textual type names in the output header.

Applies to: `row_binary_with_names_and_types`.

## row_binary_write_json_strings

Type: `Bool`

Default value: `0`

Write JSON fields as length-prefixed JSON text; binary JSON paths are unsupported.

Applies to: `row_binary`, `row_binary_with_names`, `row_binary_with_names_and_types`.
