|
2256 | 2256 | } |
2257 | 2257 | } |
2258 | 2258 | }, |
2259 | | - "revision": "20250216", |
| 2259 | + "revision": "20250302", |
2260 | 2260 | "rootUrl": "https://bigquery.googleapis.com/", |
2261 | 2261 | "schemas": { |
2262 | 2262 | "AggregateClassificationMetrics": { |
|
3375 | 3375 | "description": "Optional. Specifies a string that represents a null value in a CSV file. For example, if you specify \"\\N\", BigQuery interprets \"\\N\" as a null value when querying a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value.", |
3376 | 3376 | "type": "string" |
3377 | 3377 | }, |
| 3378 | + "nullMarkers": { |
| 3379 | + "description": "Optional. A list of strings represented as SQL NULL value in a CSV file. null_marker and null_markers can't be set at the same time. If null_marker is set, null_markers has to be not set. If null_markers is set, null_marker has to be not set. If both null_marker and null_markers are set at the same time, a user error would be thrown. Any strings listed in null_markers, including empty string would be interpreted as SQL NULL. This applies to all column types.", |
| 3380 | + "items": { |
| 3381 | + "type": "string" |
| 3382 | + }, |
| 3383 | + "type": "array" |
| 3384 | + }, |
3378 | 3385 | "preserveAsciiControlCharacters": { |
3379 | 3386 | "description": "Optional. Indicates if the embedded ASCII control characters (the first 32 characters in the ASCII-table, from '\\x00' to '\\x1F') are preserved.", |
3380 | 3387 | "type": "boolean" |
|
3389 | 3396 | "description": "Optional. The number of rows at the top of a CSV file that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. When autodetect is on, the behavior is the following: * skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row. * skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row. * skipLeadingRows = N \u003e 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract column names for the detected schema.", |
3390 | 3397 | "format": "int64", |
3391 | 3398 | "type": "string" |
| 3399 | + }, |
| 3400 | + "sourceColumnMatch": { |
| 3401 | + "description": "Optional. Controls the strategy used to match loaded columns to the schema. If not set, a sensible default is chosen based on how the schema is provided. If autodetect is used, then columns are matched by name. Otherwise, columns are matched by position. This is done to keep the behavior backward-compatible. Acceptable values are: POSITION - matches by position. This assumes that the columns are ordered the same way as the schema. NAME - matches by name. This reads the header row as column names and reorders columns to match the field names in the schema.", |
| 3402 | + "type": "string" |
3392 | 3403 | } |
3393 | 3404 | }, |
3394 | 3405 | "type": "object" |
|
5468 | 5479 | "description": "Optional. Specifies a string that represents a null value in a CSV file. For example, if you specify \"\\N\", BigQuery interprets \"\\N\" as a null value when loading a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value.", |
5469 | 5480 | "type": "string" |
5470 | 5481 | }, |
| 5482 | + "nullMarkers": { |
| 5483 | + "description": "Optional. A list of strings represented as SQL NULL value in a CSV file. null_marker and null_markers can't be set at the same time. If null_marker is set, null_markers has to be not set. If null_markers is set, null_marker has to be not set. If both null_marker and null_markers are set at the same time, a user error would be thrown. Any strings listed in null_markers, including empty string would be interpreted as SQL NULL. This applies to all column types.", |
| 5484 | + "items": { |
| 5485 | + "type": "string" |
| 5486 | + }, |
| 5487 | + "type": "array" |
| 5488 | + }, |
5471 | 5489 | "parquetOptions": { |
5472 | 5490 | "$ref": "ParquetOptions", |
5473 | 5491 | "description": "Optional. Additional properties to set if sourceFormat is set to PARQUET." |
|
5521 | 5539 | "format": "int32", |
5522 | 5540 | "type": "integer" |
5523 | 5541 | }, |
| 5542 | + "sourceColumnMatch": { |
| 5543 | + "description": "Optional. Controls the strategy used to match loaded columns to the schema. If not set, a sensible default is chosen based on how the schema is provided. If autodetect is used, then columns are matched by name. Otherwise, columns are matched by position. This is done to keep the behavior backward-compatible.", |
| 5544 | + "enum": [ |
| 5545 | + "SOURCE_COLUMN_MATCH_UNSPECIFIED", |
| 5546 | + "POSITION", |
| 5547 | + "NAME" |
| 5548 | + ], |
| 5549 | + "enumDescriptions": [ |
| 5550 | + "Uses sensible defaults based on how the schema is provided. If autodetect is used, then columns are matched by name. Otherwise, columns are matched by position. This is done to keep the behavior backward-compatible.", |
| 5551 | + "Matches by position. This assumes that the columns are ordered the same way as the schema.", |
| 5552 | + "Matches by name. This reads the header row as column names and reorders columns to match the field names in the schema." |
| 5553 | + ], |
| 5554 | + "type": "string" |
| 5555 | + }, |
5524 | 5556 | "sourceFormat": { |
5525 | 5557 | "description": "Optional. The format of the data files. For CSV files, specify \"CSV\". For datastore backups, specify \"DATASTORE_BACKUP\". For newline-delimited JSON, specify \"NEWLINE_DELIMITED_JSON\". For Avro, specify \"AVRO\". For parquet, specify \"PARQUET\". For orc, specify \"ORC\". The default value is CSV.", |
5526 | 5558 | "type": "string" |
|
0 commit comments