1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/// The most digits before the point a parameterised `NUMERIC` holds; more need `BIGNUMERIC`.
pub const NUMERIC_MAX_INTEGER_DIGITS: u8 = 29;
/// The most digits after the point a parameterised `NUMERIC` holds; more need `BIGNUMERIC`.
pub const NUMERIC_MAX_SCALE: u8 = 9;
/// The precision and scale BigQuery gives a `NUMERIC` declared without them.
pub const NUMERIC_DEFAULT: = ;
/// Statements that would open or close a transaction, which separate query jobs cannot hold open.
pub const TRANSACTION_STATEMENTS: & = &;
/// Shown for `copy_to_internal_stage` on a BigQuery target.
pub const NO_INTERNAL_STAGE_COPY: &str = "copy_to_internal_stage is for Snowflake targets; BigQuery takes the rows through its Storage Write API";
/// The most pending streams one batch's requests are spread over; each opens only when a request needs it.
pub const STREAMS_PER_BATCH: usize = 4;
/// The most bytes one append request carries, under the Storage Write API's 10 MB request limit.
pub const APPEND_REQUEST_BYTES: usize = 9 * 1024 * 1024;
/// The types BigQuery reads a Parquet decimal as, the first that holds its precision and scale: a temporary external table's `decimalTargetTypes`.
pub const DECIMAL_TARGET_TYPES: = ;
/// The longest column name BigQuery takes.
pub const MAX_COLUMN_NAME: usize = 300;
/// Prefixes BigQuery reserves for its own columns (in upper case; names ignore case), which no column it reads from Parquet may start with.
pub const RESERVED_COLUMN_PREFIXES: = ;
/// The most bytes of SQL one query job over files in GCS holds, under BigQuery's limit of 1,024K characters for a query before it is resolved.
pub const MAX_QUERY_BYTES: usize = 900 * 1024;
/// The most files one query job over files in GCS reads.
pub const MAX_FILES_PER_QUERY: usize = 1000;
/// What a query over files in GCS fails with on a row of a file not in its batch, before the file's name.
pub const UNEXPECTED_FILE: &str = "sqlload: unexpected file ";