/oracle-ai-data-platform-workbench-spark-connectors:aidp-google-bigqueryfrom oracle-ai-data-platform-workbench-spark-connectors
Reads Google BigQuery tables and views from AIDP notebooks using the built-in GOOGLE_BIGQUERY connector with service-account auth, SQL pushdown, and external-catalog access.
Ships in oracle-ai-data-platform-workbench-spark-connectors. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
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.
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.
For a complete BigQuery SQL query, use fully qualified identifiers enclosed in BigQuery backticks:
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.
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:
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:
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()
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.connection.properties-prefixed OAuth keys.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
29 skills in this plugin
/aidp-alhConnect from an AIDP notebook to Oracle AI Lakehouse (ALH), Autonomous Data Warehouse (ADW), or Autonomous Transaction Processing (ATP). Prefer the AIDP `aidataplatform` Spark format handler for wallet/password and catalog.id paths (`ORACLE_ALH` / `ORACLE_ATP`), but use raw Spark JDBC for IAM DB-token because the AIDP connector does not support DB-token auth yet./aidp-aws-s3Read and write AWS S3 (`s3a://`) from an AIDP notebook. Use when the user mentions S3, AWS S3 bucket, s3a, or has AWS access keys. Auth is access key + secret key via the Hadoop S3A connector. boto3 is also available for non-Spark management operations (list, copy)./aidp-azure-adlsRead and write Azure Data Lake Storage Gen2 (`abfss://`) from an AIDP notebook. Use when the user mentions ADLS, Azure Data Lake, abfss, or wants to ingest from a multi-cloud Azure source. Auth is OAuth client-credentials (Service Principal client_id + secret + tenant)./aidp-azuresqlRead or write Azure SQL Database from an AIDP notebook through the AIDP `aidataplatform` Spark format handler. Use when the user mentions Azure SQL, Azure SQL Database, AZURE_SQLSERVER, or a database.windows.net endpoint. Auth is SQL username/password./aidp-connectors-bootstrapFirst-time setup. Use when the user wants to install/upload the AIDP Spark connectors helper package into their AIDP workspace, or has just installed this plugin and asks "how do I set it up", "first-time setup", "install the helpers", "bootstrap aidp connectors". Drives the AIDP MCP tools to push the helper package to /Workspace/Shared/ and runs a sanity import./aidp-connectors-overviewHelp the user pick the right connector skill for their data source from an AIDP notebook. Use as a router when the user mentions multiple sources, isn't sure which connector applies, or asks "how do I connect to X from AIDP". Covers 27 data sources — Oracle Autonomous DB family (ALH/ADW/ATP), generic Oracle DB, ExaCS, PeopleSoft, Siebel, Fusion ERP/BICC, EPM Cloud, Essbase, OCI Streaming, Object Storage, Iceberg, plus PostgreSQL, MySQL/HeatWave, Db2, SQL Server, Azure SQL, Hive, Snowflake, Google BigQuery, Azure ADLS, AWS S3, Salesforce, NetSuite, generic REST, custom JDBC, Excel.Generated from the plugin's indexed repository (oracle-samples/oracle-aidp-samples) — no native marketplace selected
npx claudepluginhub p/oracle-samples-oracle-ai-data-platform-workbench-spark-connectors-ai-claude-code-plugins-oracle-ai-data-platform-workbench-spark-connectorsOther plugins' skills for the same job