pub const DEFAULT_STANDARD_VECTOR_SIZE: usize = 2048;Expand description
DuckDB’s compile-time default vector size.
This is only a fallback for the (unreachable in practice) case where
duckdb_vector_size() reports 0. Never hardcode this value — DuckDB
can be built with -DSTANDARD_VECTOR_SIZE=<n> and its duckdb.h documents
duckdb_vector_size() as the authoritative “amount of tuples that will fit
into a data chunk”. Writing past the real capacity is a heap overflow.