sqlload 0.43.0

SQL data loading tooling.
1
2
3
4
5
6
7
8
9
10
11
/// A batch commits once its staged data reaches about this many bytes (1 GB of Parquet; Arrow bytes where nothing is encoded).
pub const BATCH_BYTES: usize = 1000 * 1000 * 1000;

/// The most source files in one batch of a files source.
pub const MAX_BATCH_FILES: usize = 1000;

/// Seconds in a day: a date cursor's `batch_size` is a whole number of days.
pub const SECONDS_PER_DAY: u64 = 86_400;

/// The most windows one plan may split a table's read into; a smaller `batch_size` over a longer range is refused.
pub const MAX_WINDOWS: u64 = 100_000;