BigQuery
Parity grade: B · SDK cloud.google.com/go/bigquery@v1.85.0 · last audited 2026-10-19 (15ea1e35b)
Category: GCP · View PARITY.md on GitHub · All Services
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 28 (28 ok) |
| Feature families | 18 (15 ok, 3 partial) |
| Known gaps | 8 |
| Deferred items | 0 |
| Resource leaks | clean |
Known Gaps
- Not served: models, table and dataset IAM policies (including row access policy IAM), datasets undelete, snapshots/clones as storage objects, BigLake tables and connections, data transfers, analytics hub, reservation groups, reservation failover and reservation IAM, and the Storage Read/Write gRPC APIs.
- Unsupported GoogleSQL: CAST ... FORMAT between numeric or BYTES types and STRING (date and time types are supported, with AT TIME ZONE), EXPORT DATA, JavaScript, Python and remote UDFs and CREATE AGGREGATE FUNCTION, wildcard tables (_TABLE_SUFFIX), partition pseudo columns (_PARTITIONTIME and _PARTITIONDATE need a per-row ingestion time that rows do not carry; DML rewrites whole row slices in jobs_query.go effectWrite), selecting a whole row as a STRUCT, legacy SQL.
- Unsupported functions: RANGE values, ML., GEOGRAPHY beyond the implemented ST_ set (use_spheroid => TRUE, make_valid => TRUE, ST_UNION, ST_BUFFER and the other constructors and aggregates), SEARCH over a table reference or a tuple, JSON constructors and mutators beyond JSON_VALUE/JSON_QUERY/PARSE_JSON/TO_JSON_STRING, FORMAT patterns beyond %s %d %i %f %g %e %t %T %x %o, collation.
- ST_MAKELINE does not snap sufficiently short edges together (geography_functions ST_MAKELINE constraints; snap radius not stated there). Overlap detection of edges beyond the first 1024 only collapses repeated identical edges, and detection off the equator and meridians uses a floating-point tolerance, not an exact predicate. The error text for an edge of 180 degrees or more is emulator wording.
- SEARCH NO_OP_ANALYZER: the page's example SEARCH(R'"foo bar"', R'"foo Bar"', analyzer=>'NO_OP_ANALYZER') is TRUE with the comment 'analysis is case-insensitive', while its 'Foobar' vs 'foobar' example is FALSE; the emulator keeps NO_OP case-sensitive and returns FALSE for the first. SEARCH also reads upper-case AND/OR inside a double-quoted phrase as logical operators (the page's SEARCH(R'foo bar', R'"foo AND (bar OR baz)"') is TRUE, commented as a logical match); the rule for phrases that really contain those words is not documented, so 'Clyde and Bonnie' matches the query "Bonnie AND Clyde".
- NUMERIC and BIGNUMERIC: a RANGE window frame with an offset over a NUMERIC or BIGNUMERIC ORDER BY key is rejected as unsupported (SQLite applies the offset to the encoded text); Parquet export writes BIGNUMERIC as STRING because pkgs/parquetio caps DECIMAL precision at 38 (the exporting-data page's BIGNUMERIC type mapping was not read); a scalar function that has no decimal implementation, including the string functions (UPPER, LENGTH, SUBSTR, TRIM and the like), runs on the FLOAT64 conversion of a NUMERIC or BIGNUMERIC argument where BigQuery reports no matching signature; STRUCT equality and IN over structs do not coerce an INT64 or FLOAT64 field to NUMERIC; insertAll, load and DML round a value with more fraction digits than the scale half away from zero (NUMERIC scale 9, BIGNUMERIC scale 38) and the streaming and load pages read do not say whether BigQuery rounds or rejects it; a Parquet load without a schema reads DECIMAL columns as STRING (autodetect types by value).
- Jobs: no slot or priority scheduling, no query cache, anonymous result tables are not created, script expression evaluations are not recorded as EXPRESSION child jobs, and execution holds the backend write lock (jobs_async.go runLocked), so jobs.cancel and jobTimeoutMs stop a job before it executes and a script between statements, not a plain statement in flight.
- Load: Datastore and Firestore backups, nested CSV and column-name flexibility options are not supported. External tables: GOOGLE_SHEETS, DATASTORE_BACKUP, BIGTABLE and DELTA_LAKE sources and WITH CONNECTION need services the emulator does not have. External tables and CREATE EXTERNAL TABLE read Cloud Storage while the backend lock is held (external.go readExternalRows). The NDJSON TIMESTAMP and CSV float rendering of extract have not been checked against the live service.
Audited Operations
28 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
InsertDataset | ok | ok | ok | ok |
GetDataset | ok | ok | ok | n/a |
ListDatasets | ok | ok | ok | n/a |
PatchDataset | ok | ok | ok | ok |
UpdateDataset | ok | ok | ok | ok |
DeleteDataset | ok | ok | ok | ok |
InsertTable | ok | ok | ok | ok |
GetTable | ok | ok | ok | n/a |
ListTables | ok | ok | ok | n/a |
PatchTable | ok | ok | ok | ok |
UpdateTable | ok | ok | ok | ok |
DeleteTable | ok | ok | ok | ok |
ListTableData | ok | ok | ok | n/a |
InsertRoutine | ok | ok | ok | ok |
GetRoutine | ok | ok | ok | n/a |
ListRoutines | ok | ok | ok | n/a |
UpdateRoutine | ok | ok | ok | ok |
DeleteRoutine | ok | ok | ok | ok |
InsertAll | ok | ok | ok | ok |
InsertJob | ok | ok | ok | ok |
UploadJob | ok | ok | ok | n/a |
Query | ok | ok | ok | ok |
GetQueryResults | ok | ok | ok | n/a |
GetJob | ok | ok | ok | n/a |
ListJobs | ok | ok | ok | n/a |
CancelJob | ok | ok | ok | n/a |
DeleteJob | ok | ok | ok | ok |
ListProjects | ok | ok | ok | n/a |
Audited Feature Families
| Feature Family | Status |
|---|---|
row_access_policies | ok |
reservations | ok |
external_tables | ok |
sql_engine | partial |
scripting | ok |
routines | ok |
time_travel | ok |
dml | ok |
ddl | ok |
materialized_views | ok |
load_extract_copy | partial |
value_encoding | ok |
error_envelope | ok |
routing_isolation | ok |
persistence | ok |
auth | partial |
observability | ok |
audit_logs | ok |
