Function libduckdb_sys::duckdb_data_chunk_get_vector

source ·
pub unsafe extern "C" fn duckdb_data_chunk_get_vector(
    chunk: duckdb_data_chunk,
    col_idx: idx_t
) -> duckdb_vector
Expand description

Retrieves the vector at the specified column index in the data chunk.

The pointer to the vector is valid for as long as the chunk is alive. It does NOT need to be destroyed.

chunk: The data chunk to get the data from returns: The vector