Client APIs
API Reference Overview
> **Warning.  ** Deprecation notice. This method is scheduled for removal in a future release.  
Scans the Arrow array and creates a view with the given name.
Note that after running `duckdb_arrow_array_scan`, `duckdb_destroy_arrow_stream` must be called on the out stream.  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_state duckdb_arrow_array_scan(
duckdb_connection connection,
const char *table_name,
duckdb_arrow_schema arrow_schema,
duckdb_arrow_array arrow_array,
duckdb_arrow_stream *out_stream
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `connection`: The connection on which to execute the scan.
* `table_name`: Name of the temporary view to create.
* `arrow_schema`: Arrow schema wrapper.
* `arrow_array`: Arrow array wrapper.
* `out_stream`: Output array stream that wraps around the passed schema, for releasing/deleting once done.  
###### Return Value {#docs:api:c:api::return-value}  
`DuckDBSuccess` on success or `DuckDBError` on failure.  
<br>