Skip to main content
Bind bigQueryRelation(login) to the SQL app’s provider in the SQL mount example. Mount once per source table. Rows and positions use the SQL mount’s label. Seal the following receiver credential with bijection secret set. Use a Google access token allowed to read the named table and its metadata and to create and inspect query jobs in the billing project. Refresh the sealed token before it expires.
Declare one to eight required INT64 or STRING key columns. Maintain a unique, stable tuple at the source. Paging compares the full tuple, with text ordered by UTF-8 bytes. Record keys are JSON arrays of strings up to 512 encoded bytes. One query observes at most 32 rows per published page, with a 24 KiB provider JSON row limit and 48 KiB encoded records per answer. The connector checks table identity before and after the query, submits a single billed-byte-limited GoogleSQL query per attempt, and reads only that job’s result from the fixed BigQuery origin. BigQuery attempts to cancel jobs past their configured query timeout. A later poll may create a new job if the earlier attempt has no published answer. A whole traversal can observe concurrent changes. Later traversals refresh keys they see and keep previously published keys that disappear. After a restored or replaced source, set a new incarnation and authorize a reset at the health revision and gap stamp.

Write a declared relation

Follow the parameterized SQL write guide for the writer binding, composite and text keys, declared projection and provider affected-row evidence.