Feat/bigquery datasource [ part - 1 ]#115
Merged
anoop-narang merged 9 commits intomainfrom Feb 10, 2026
Merged
Conversation
Add BigQuery as a native data source with table discovery and data fetching via the gcp-bigquery-client crate. Includes Source enum variant, credential support, and integration into the NativeFetcher.
Replace hardcoded "region-us" with a configurable region field on the BigQuery source config, defaulting to "us" when omitted.
Paginate through all result pages via get_query_results instead of only reading the first page. Buffer rows and flush in 10k-row batches to bound memory usage, matching the postgres/mysql fetcher pattern.
…s null BigQuery returns ARRAY, STRUCT, and JSON columns as non-string JSON values (arrays, objects). Previously these were silently dropped as nulls, causing Arrow validation errors on non-nullable columns. Now they are serialized to their JSON string representation.
Contributor
Author
|
thread 'test_update_table_sync_cache_invalidation' (3845) panicked at tests/caching_catalog_tests.rs:22:10: |
The connection handler only recognized password, token, and bearer_token as inline credential fields. BigQuery's credentials_json was not being extracted, stored as a secret, or linked to the connection.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add BigQuery as a native datasource
Adds BigQuery support as a native datasource, allowing users to connect to GCP BigQuery
projects, discover tables, and query them through DataFusion.
What's included
tables from INFORMATION_SCHEMA, and fetches data using BigQuery Jobs API with pagination and
batched Arrow writes
"us"), or scoped discovery when a specific dataset is provided
stored as a secret and linked to the connection, matching the existing flow for Postgres
passwords
Connection API
Alternatively, credentials can be pre-created as a secret and referenced via secret_name or
secret_id.