sqlload 0.54.0

SQL data loading tooling.
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::http::errors::ApiError;

/// Why reading a BigQuery source failed.
#[derive(Debug, thiserror::Error)]
pub enum BigQuerySourceError {
    #[error("BigQuery: {0}")]
    Api(#[from] ApiError),
    #[error("{0}")]
    Invalid(String),
    /// What the caller's batch consumer failed with, as it said it.
    #[error("{0}")]
    Consumer(String),
}