pub type CopyGlobalInitFn = unsafe extern "C" fn(info: duckdb_copy_function_global_init_info);Expand description
Global init callback — called once per output file to set up its state.
That is once for a plain COPY … TO, and once per file with
PER_THREAD_OUTPUT or PARTITION_BY. With USE_TMP_FILE the path is the
temporary name, which DuckDB renames afterwards.