Skip to main content

CopyFinalizeFn

Type Alias CopyFinalizeFn 

Source
pub type CopyFinalizeFn = unsafe extern "C" fn(info: duckdb_copy_function_finalize_info);
Expand description

Finalize callback — called once per output file, after its last sink.

It flushes and closes. It is not called when a sink reports an error: release resources in the global state’s destructor, which DuckDB runs either way, not only here.