sqlload 0.37.0

SQL data loading tooling.
use crate::adapters::contract::models::TableName;
use crate::adapters::dispatch::models::Destination;
use crate::column_types::models::Warehouse;
use crate::schema_plan::models::DesiredColumn;

#[derive(Debug)]
/// Where a commit's checks run: the relation holding exactly the rows about to be published, and the table they are published into.
pub struct CheckedCommit<'a> {
    pub destination: &'a Destination,
    pub warehouse: Warehouse,
    pub staging: &'a TableName,
    pub table: &'a TableName,
    /// Whether the table exists, so `max_row_drop` has rows to compare with.
    pub exists: bool,
    /// The columns the load writes, whose names the checks' columns take.
    pub columns: &'a [DesiredColumn],
    /// Rows earlier commits of this load already published.
    pub committed: u64,
}