Start BigQuery support - #18
Draft
otegami wants to merge 2 commits into
Draft
Conversation
This is the first step toward BigQuery backend support. More features will be added incrementally. Done: - Basic connectivity and query execution (TestModel passes) - Backtick quoting for identifiers - insert_all without ON CONFLICT (BigQuery does not support it) Not done: - Type support (boolean, string, date, etc.) - Ingest (ADBC BigQuery driver does not implement ingest API) FYI: - Tests assume GCP project and dataset already exist (ADBC BigQuery driver requires dataset_id for all SQL execution)
otegami
commented
Apr 9, 2026
| workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} | ||
| - name: "Prepare test environment: BigQuery" | ||
| if: matrix.ruby-version == '3.4' && steps.gcp-auth.outcome == 'success' | ||
| uses: columnar-tech/setup-dbc@v1 |
Member
Author
There was a problem hiding this comment.
Use dbd for installing an ADBC driver for BigQuery.
ref: https://github.com/columnar-tech/dbc
ref: https://github.com/columnar-tech/setup-dbc
otegami
commented
Apr 9, 2026
Comment on lines
+90
to
+94
| uses: google-github-actions/auth@v3 | ||
| continue-on-error: true | ||
| with: | ||
| project_id: ${{ secrets.GCP_PROJECT_ID }} | ||
| workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} |
Member
Author
There was a problem hiding this comment.
Set up GCP authentication as follows.
And then add some authorizations for the above role.
Member
Author
|
The CI is currently failing, so I'll address that in a separate PR. |
otegami
marked this pull request as draft
April 9, 2026 15:28
otegami
marked this pull request as draft
April 9, 2026 15:28
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.
This is the first step toward BigQuery backend support.
More features will be added incrementally.
CI has passed on my fork here.
Done
Not done
FYI