MCPcopy Create free account
hub / github.com/apache/arrow / schema_depth_limit

Function schema_depth_limit

cpp/src/parquet/properties.h:135–135  ·  view source on GitHub ↗

\brief Return the schema nesting depth limit. This limit helps prevent denial of service through excessive recursion (stack overflow) when reconstructing the Parquet schema from the file metadata. The default value is conservative enough for most use cases.

Source from the content-addressed store, hash-verified

133 /// (stack overflow) when reconstructing the Parquet schema from the file metadata.
134 /// The default value is conservative enough for most use cases.
135 int32_t schema_depth_limit() const { return schema_depth_limit_; }
136 /// Set the schema nesting depth limit.
137 void set_schema_depth_limit(int32_t size) { schema_depth_limit_ = size; }
138

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected