Function mz_fivetran_destination::destination::dml::get_scratch_table
source · async fn get_scratch_table<'a>(
database: &str,
schema: &str,
table: &Table,
client: &'a Client
) -> Result<(UnresolvedItemName, Vec<ColumnMetadata>, ScratchTableGuard<'a>), OpError>
Expand description
Gets the existing “scratch” table that we can copy data into, or creates one if it doesn’t exist.