Skip to content

Conversation

@dfalbel
Copy link
Contributor

@dfalbel dfalbel commented Nov 11, 2025

Addresses #10431

A connection can be created with:

from google.cloud import bigquery

public = bigquery.Client(project="bigquery-public-data")
%connection_show public

The client can be installed with

pip install google-cloud-bigquery

Authentication is automatic if you download the gcloud CLI, and then run:

gcloud auth login

Release Notes

New Features

Bug Fixes

  • N/A

QA Notes

@:connections

@github-actions
Copy link

github-actions bot commented Nov 11, 2025

E2E Tests 🚀
This PR will run tests tagged with: @:critical @:connections

readme  valid tags

@dfalbel dfalbel changed the title Connections Pane: BugQuery Support Connections Pane: BigQuery Support Nov 11, 2025
@dfalbel dfalbel force-pushed the connections/bigquery branch 2 times, most recently from 5b96be3 to 59812d0 Compare November 17, 2025 19:25
@dfalbel dfalbel force-pushed the connections/bigquery branch from 59812d0 to 2d82598 Compare November 17, 2025 19:32
@dfalbel dfalbel requested a review from Copilot November 17, 2025 20:31
@dfalbel dfalbel marked this pull request as ready for review November 17, 2025 20:31
Copilot finished reviewing on behalf of dfalbel November 17, 2025 20:35
Copy link
Contributor

Copilot AI left a 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 GoogleBigQueryConnection class with methods to list datasets/tables, retrieve field information, and preview data
  • Adds BigQueryConnectionInspector to 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

@dfalbel dfalbel force-pushed the connections/bigquery branch from aeee689 to 79b0209 Compare November 18, 2025 00:17
by default in ~/.config/gcloud/application_default_credentials.json
@dfalbel dfalbel force-pushed the connections/bigquery branch from 812565e to a982648 Compare November 18, 2025 00:57
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.

2 participants