Skip to main content

A Harlequin adapter for Google BigQuery.

Project description

harlequin-bigquery

This is a BigQuery adapter for Harlequin, a SQL IDE for the terminal.

This adapter will use Application Default Credentials to authenticate with BigQuery and run queries.

Configuration

This adapter supports the following options:

  • project: The ID of the Google Cloud project to run Harlequin in. Defaults to whatever it can infer from the user's environment, i.e. gcloud config list project.
  • location: The location used to run the catalog queries, which must be region-qualified. Defaults to US.

Required permissions

The user will need the permission to query both INFORMATION_SCHEMA.TABLES and INFORMATION_SCHEMA.COLUMNS to load the data catalog.

To query these views, you need the following Identity and Access Management (IAM) permissions:

  • bigquery.tables.get
  • bigquery.tables.list
  • bigquery.routines.get
  • bigquery.routines.list

Each of the following predefined IAM roles includes the necessary permissions:

  • roles/bigquery.admin
  • roles/bigquery.dataViewer
  • roles/bigquery.metadataViewer

For more information about BigQuery permissions, see Access control with IAM.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

harlequin_bigquery-1.0.3.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

harlequin_bigquery-1.0.3-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file harlequin_bigquery-1.0.3.tar.gz.

File metadata

  • Download URL: harlequin_bigquery-1.0.3.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Darwin/24.1.0

File hashes

Hashes for harlequin_bigquery-1.0.3.tar.gz
Algorithm Hash digest
SHA256 8dd0f099f894ef1e33978860d767afacfa8b1333c1d8cf3fd473787743751094
MD5 2649d939f4c70209dcd427f320eb4c3a
BLAKE2b-256 b00bc9820d007225c74eb7efcaf27e85ad936844b6ca13418c2504db5a722609

See more details on using hashes here.

File details

Details for the file harlequin_bigquery-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: harlequin_bigquery-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Darwin/24.1.0

File hashes

Hashes for harlequin_bigquery-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1e704091fdeb463ebda89fe4fe70d04d90176b8ff69393a6fe75656b1694ddeb
MD5 b33cce25441e8e4c352ea059268b75a6
BLAKE2b-256 9d8429735ae6d1218252dd9e64048b58e91af9895b6880957cd1dc16435341ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page