-
Notifications
You must be signed in to change notification settings - Fork 126
Connections Pane: BigQuery Support #10502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
E2E Tests 🚀 |
5b96be3 to
59812d0
Compare
59812d0 to
2d82598
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for Google BigQuery connections to the Connections Pane, enabling users to browse datasets, tables, and views from BigQuery projects through the Positron interface.
- Implements
GoogleBigQueryConnectionclass with methods to list datasets/tables, retrieve field information, and preview data - Adds
BigQueryConnectionInspectorto detect and validate BigQuery client instances - Includes comprehensive test suite covering connection registration, object listing, field inspection, and data preview
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| extensions/positron-python/python_files/posit/positron/connections.py | Adds GoogleBigQueryConnection class implementing the Connection interface for BigQuery clients, with support for dataset/table hierarchy and data previewing |
| extensions/positron-python/python_files/posit/positron/inspectors.py | Adds BigQueryConnectionInspector to identify and validate BigQuery client connections in the variables pane |
| extensions/positron-python/python_files/posit/positron/tests/test_connections.py | Adds comprehensive test suite for BigQuery connection functionality including object listing, field inspection, and preview capabilities |
extensions/positron-python/python_files/posit/positron/connections.py
Outdated
Show resolved
Hide resolved
extensions/positron-python/python_files/posit/positron/connections.py
Outdated
Show resolved
Hide resolved
extensions/positron-python/python_files/posit/positron/connections.py
Outdated
Show resolved
Hide resolved
aeee689 to
79b0209
Compare
by default in ~/.config/gcloud/application_default_credentials.json
812565e to
a982648
Compare
Addresses #10431
A connection can be created with:
The client can be installed with
Authentication is automatic if you download the gcloud CLI, and then run:
Release Notes
New Features
Bug Fixes
QA Notes
@:connections