/oracle-ai-data-platform-workbench-spark-connectors:aidp-db2from oracle-ai-data-platform-workbench-spark-connectors
Reads/writes IBM Db2 databases from AIDP notebooks using the built-in `aidataplatform` Spark format handler with SQL pushdown support.
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.
aidp-db2 — IBM Db2 via AIDP aidataplatformUse the built-in AIDP Db2 connector (type=DB2) for ingestion reads, writes, and SQL pushdown. External-catalog support is not included in the 4.1 release.
type=DB2.aidp-jdbc-custom.import os
from oracle_ai_data_platform_connectors.aidataplatform import (
AIDP_FORMAT, aidataplatform_options,
)
opts = aidataplatform_options(
type="DB2",
host=os.environ["DB2_HOST"],
port=int(os.environ.get("DB2_PORT", "50000")),
database_name=os.environ["DB2_DATABASE"],
user=os.environ["DB2_USER"],
password=os.environ["DB2_PASSWORD"],
schema=os.environ["DB2_SCHEMA"],
table=os.environ["DB2_TABLE"],
)
df = spark.read.format(AIDP_FORMAT).options(**opts).load()
df.show(5)
CREATE, APPEND, OVERWRITE, and MERGE are supported. write.merge.keys is required for MERGE.
write_opts = aidataplatform_options(
type="DB2",
host=os.environ["DB2_HOST"],
port=int(os.environ.get("DB2_PORT", "50000")),
database_name=os.environ["DB2_DATABASE"],
user=os.environ["DB2_USER"],
password=os.environ["DB2_PASSWORD"],
schema=os.environ["DB2_SCHEMA"],
table=os.environ["DB2_TARGET_TABLE"],
extra={"write.mode": "CREATE"},
)
df.write.format(AIDP_FORMAT).options(**write_opts).save()
pushdown_df = (spark.read.format(AIDP_FORMAT)
.options(**opts)
.option("pushdown.sql", "SELECT * FROM <SCHEMA>.<TABLE_NAME> FETCH FIRST 10 ROWS ONLY")
.load())
pushdown_df.show(5)
DB2, not the generic JDBC connector type.database.name is required for Db2.What SKILL.md sets; muted values are Claude Code's defaults
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-connectors29 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).Other plugins' skills for the same job