#[cfg(feature = "duckdb")]
use std::sync::{Arc, Mutex};
#[cfg(feature = "duckdb")]
#[derive(Debug, Clone)]
pub struct DuckDbDestination {
pub connection: Arc<Mutex<duckdb::Connection>>,
pub ddl: Arc<tokio::sync::Mutex<()>>,
pub motherduck: bool,
}
#[derive(Debug, Clone, Copy, Default)]
pub struct DuckDbSql;
#[cfg(feature = "duckdb")]
#[derive(Debug)]
pub struct DuckDbWriter {
pub destination: DuckDbDestination,
pub open_transaction: bool,
}