Thalweg · API reference ← Main docs

MAX_STRUCT_DEPTH

Constant MAX_STRUCT_DEPTH 

Source
pub const MAX_STRUCT_DEPTH: u32 = 64;
Expand description

Default safety limit for constructing a genuine nested Struct / List<Struct> type once something is no longer being flattened into named columns - independent of and unrelated to flatten_depth. Raised from the historical 12 to 64 so realistically-deep schemas type natively rather than collapsing to Utf8; callers that need a different bound pass one explicitly via build_arrow_schema_with_struct_depth.