Skip to content
Skills Library
Data & analytics · Tool integration

aidp-google-bigquery

/aidp-google-bigquery

Read Google BigQuery tables and views from AIDP notebooks using the built-in GOOGLE_BIGQUERY connector, service-account authentication, SQL pushdown, catalog.id, or external-catalog names. Use for BigQuery or GBQ requests in AIDP 5.1 and later.

Licence
UPL-1.0
Last repository change
26.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.

Licence

UPL-1.0, otwarta.

What it does and when to use it

Read Google BigQuery tables and views from AIDP notebooks using the built-in GOOGLE_BIGQUERY connector, service-account authentication, SQL pushdown, catalog.id, or external-catalog names. Use for BigQuery or GBQ requests in AIDP 5.1 and later.

Original author description

Read Google BigQuery tables and views from AIDP notebooks using the built-in GOOGLE_BIGQUERY connector, service-account authentication, SQL pushdown, catalog.id, or external-catalog names. Use for BigQuery or GBQ requests in AIDP 5.1 and later.

How it works

  1. Service-account connection and direct read
  2. Pushdown and parallel reads
  3. External-catalog access
  4. Authentication constraints
  5. Reference
Original SKILL.md headings · 87 lines, 418 words
SKILL.md preview
---
name: aidp-google-bigquery
description: Read Google BigQuery tables and views from AIDP notebooks using the built-in GOOGLE_BIGQUERY connector, service-account authentication, SQL pushdown, catalog.id, or external-catalog names. Use for BigQuery or GBQ requests in AIDP 5.1 and later.
allowed-tools: Read, Write, Edit, Bash
---

# Google BigQuery via AIDP

Use the built-in `aidataplatform` format with `type=GOOGLE_BIGQUERY` and the Progress DataDirect driver supplied by AIDP. Ingestion and external-catalog access are read-only; do not generate writes, MERGE, or write-mode examples for GBQ.

## Service-account connection and direct read

The user needs a Google service account allowed to query the selected project and read its datasets/tables, plus compute network access to Google BigQuery and OAuth endpoints. Store the full service-account JSON in an AIDP secret. Use the service account's matching email.

If the plugin helper package is already available in the notebook, compose the shared option builder as below. Otherwise generate the equivalent Spark `.option(...)` calls directly, or use `aidp-connectors-bootstrap` when the user wants helper setup. Built-in connector reads do not require a helper upload.

```python
from oracle_ai_data_platform_connectors.aidataplatform import (
    AIDP_FORMAT, aidataplatform_options,
)

key_json = aidputils.secrets.get("<SECRET_NAME>", "<SECRET_KEY>")
opts = aidataplatform_options(
    type="GOOGLE_BIGQUERY",
    host="https://www.googleapis.com/bigquery/v2",
    port=443,
    schema="<DATASET>",
    table="<TABLE_OR_VIEW>",
    extra={
        "project.id": "<GCP_PROJECT_ID>",
        "oauth.type": "service_account",
        "oauth.service.acct.email": "<SERVICE_ACCOUNT_EMAIL>",
        "oauth.pvt.key": key_json,
    },
)
df = spark.read.format(AIDP_FORMAT).options(**opts).option("row.limit", "10").load()
df.show()
```

`schema` is a BigQuery dataset. Use `project.id` for the GCP project. `port` defaults to `443` when omitted.

## Pushdown and parallel reads

For a complete BigQuery SQL query, use fully qualified identifiers enclosed in BigQuery backticks:

```python
query_df = (
    spark.read.format(AIDP_FORMAT)
    .options(**opts)
    .option("pushdown.sql", "SELECT * FROM `<GCP_PROJECT_ID>.<DATASET>.<TABLE_OR_VIEW>` LIMIT 10")
    .load()
)
query_df.show()
```

For table reads, `pushdown.columns` selects comma-separated columns and `pushdown.filter` supplies a source SQL predicate. `row.limit` bounds the result size. Numeric range partitioning uses `partition.column`, `partition.num`, `partition.lower`, and `partition.upper`; choose a numeric column and bounds from the source data. The public notebook includes a complete partitioned-read example.

## External-catalog access

Use an existing Google BigQuery external catalog created in **Master Catalogs** with service-account authentication. Reuse its stored connection with the catalog identifier; do not add inline credentials:

```python
catalog_df = (
    spark.read.format("aidataplatform")
    .option("catalog.id", "<CATALOG_ID>")
    .option("schema", "<DATASET>")
    .option("table", "<TABLE_OR_VIEW>")
    .option("row.limit", "10")
    .load()
)
catalog_df.show()
```

Three-part names use the catalog **name**, dataset, and table/view:

```python
external_df = spark.table("`<CATALOG_NAME>`.`<DATASET>`.`<TABLE_OR_VIEW>`")
external_df.limit(10).show()
spark.sql("SELECT * FROM `<CATALOG_NAME>`.`<DATASET>`.`<TABLE_OR_VIEW>` LIMIT 10").show()
```

## Authentication constraints

- Use the typed options `oauth.type=service_account`, `oauth.service.acct.email`, and `oauth.pvt.key`. Pass the full JSON as `oauth.pvt.key`, not only a PEM key or a key-file path.
- Keep credentials in secrets; do not print the JSON or the connection-options dictionary.
- Do not substitute username/password, numeric OAuth values, raw driver property aliases, or `connection.properties`-prefixed OAuth keys.
- Use the built-in connector rather than installing another BigQuery JDBC driver or routing to the generic JDBC skill.

## Reference

- [Google BigQuery notebook and connector option reference](https://github.com/oracle-samples/oracle-aidp-samples/blob/main/data-engineering/ingestion/Read_Only_Ingestion_Connectors/Google_BigQuery.ipynb)

Versions

The database has no other skills named aidp-google-bigquery.

Identical content appears in 2 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version 62964b15339b (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100aidp-exacs
    Read or write Oracle Exadata Cloud Service (ExaCS) from an AIDP notebook via the AIDP `aidataplatform` Spark format handler. Use when the user mentions ExaCS, Exadata, Exadata Cloud, RAC SCAN listener, or has a private-subnet Oracle DB. Prefer the official `ORACLE_EXADATA`…
  • 90aidp-table-management
    Control-plane lifecycle for AIDP catalog objects — create/update/delete/refresh tables, views, schemas, and catalogs, and register an EXTERNAL catalog/connection (ALH/ADW/object-storage) as a persistent catalog object. Use when the user wants to create or drop a…
  • 100bigquery-api
    Run SQL against Google BigQuery and browse its catalog — submit queries (sync or async), poll job status, page through results, list datasets/tables, and read table schemas. Use this whenever the user wants to query a BigQuery table, ask "what's in this dataset", check a…
  • 100bigquery-basics
    Manages datasets, tables, and jobs in BigQuery. Use when you need to interact with BigQuery, run SQL queries, manage BigQuery resources (datasets, tables, views), or perform basic data ingestion and analysis.
  • 100bigquery-basics
    Manages datasets, tables, and jobs in BigQuery. Use when you need to interact with BigQuery, run SQL queries, manage BigQuery resources (datasets, tables, views), or perform basic data ingestion and analysis.
  • 95google-bigquery
    Google BigQuery API integration with managed OAuth. Run SQL queries, manage datasets and tables, and analyze data at scale. Use this skill when users want to query BigQuery data, create or manage datasets/tables, run analytics jobs, or work with BigQuery resources. For other…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.