Skip to content

BigQuery: system procedure arguments filled with their documented types - #48

Merged
kvlonge merged 1 commit into
mainfrom
bigquery-typed-call-arguments
Dec 6, 2026
Merged

kvlonge merged 1 commit into
mainfrom
bigquery-typed-call-arguments

Conversation

@kvlonge

@kvlonge kvlonge commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

Why

BigQuery's system procedures page specifies CALL arguments as strings, and REFRESH_EXTERNAL_METADATA_CACHE's subdirectories as an array literal. The builder now fills them that way instead of with bare names, which BigQuery refused as unrecognized names.

Changes

  • syntax/bigquery/cases/utility.jsonl: the cases of BQ.ABORT_SESSION, BQ.JOBS.CANCEL, BQ.CANCEL_INDEX_ALTERATION, BQ.REFRESH_EXTERNAL_METADATA_CACHE and BQ.REFRESH_MATERIALIZED_VIEW are rebuilt: 33 in, 40 out.
  • syntax/bigquery/receipts/utility.jsonl: 34 receipts appended, from dry runs with 0 bytes billed. Existing lines are unchanged.

Verification

  • A second run in reverse order matched on all 34.
  • Every reject case is refused while parsing. Every accept case is accepted, or refused at run time for the object type. The empty array is refused at run time ("selective_uris array must be non-empty").
  • The builder's --check against this tree reports 0 stale. With the review records, summary gives 603/907 forms.

Builder: e1a03e45c1379e73ac3a31b5e616a05a1a49d055

@kvlonge
kvlonge merged commit b5cb1ed into main Dec 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant