Client APIs
API Reference Overview
Creates an empty data chunk with the specified column types.
The result must be destroyed with `duckdb_destroy_data_chunk`.  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_data_chunk duckdb_create_data_chunk(
duckdb_logical_type *types,
idx_t column_count
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `types`: An array of column types. Column types can not contain ANY and INVALID types.
* `column_count`: The number of columns.  
###### Return Value {#docs:api:c:api::return-value}  
The data chunk.  
<br>