/oracle-ai-data-platform-workbench-spark-connectors:aidp-azuresqlfrom oracle-ai-data-platform-workbench-spark-connectors
Reads or writes Azure SQL Database via the AIDP `aidataplatform` Spark format handler. Supports ingestion, external catalogs, and SQL pushdown.
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-azuresql — Azure SQL Database via AIDP aidataplatformUse the dedicated Azure SQL connector type, AZURE_SQLSERVER. It supports ingestion reads and writes, external-catalog access, catalog.id, and SQL pushdown.
database.windows.net.aidp-sqlserver.aidp-azure-adls.import os
from oracle_ai_data_platform_connectors.aidataplatform import (
AIDP_FORMAT, aidataplatform_options,
)
opts = aidataplatform_options(
type="AZURE_SQLSERVER",
host=os.environ["AZURE_SQL_HOST"],
port=int(os.environ.get("AZURE_SQL_PORT", "1433")),
database_name=os.environ["AZURE_SQL_DATABASE"],
user=os.environ["AZURE_SQL_USER"],
password=os.environ["AZURE_SQL_PASSWORD"],
schema=os.environ.get("AZURE_SQL_SCHEMA", "dbo"),
table=os.environ["AZURE_SQL_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="AZURE_SQLSERVER",
host=os.environ["AZURE_SQL_HOST"],
port=int(os.environ.get("AZURE_SQL_PORT", "1433")),
database_name=os.environ["AZURE_SQL_DATABASE"],
user=os.environ["AZURE_SQL_USER"],
password=os.environ["AZURE_SQL_PASSWORD"],
schema=os.environ.get("AZURE_SQL_SCHEMA", "dbo"),
table=os.environ["AZURE_SQL_TARGET_TABLE"],
extra={"write.mode": "CREATE"},
)
df.write.format(AIDP_FORMAT).options(**write_opts).save()
catalog.idCreate an Azure SQL external catalog in Master Catalogs first. Use a three-part name for catalog reads and writes, or catalog.id to reuse its saved connection.
catalog_df = spark.table("<CATALOG_NAME>.<SCHEMA>.<TABLE_NAME>")
catalog_df.show(5)
catalog_id_df = (spark.read.format(AIDP_FORMAT)
.option("catalog.id", "<CATALOG_ID>")
.option("schema", "<SCHEMA>")
.option("table", "<TABLE_NAME>")
.load())
catalog_id_df.write.format(AIDP_FORMAT) \
.option("catalog.id", "<CATALOG_ID>") \
.option("schema", "<SCHEMA>") \
.option("table", "<TARGET_TABLE_NAME>") \
.option("write.mode", "APPEND") \
.save()
pushdown_df = (spark.read.format(AIDP_FORMAT)
.options(**opts)
.option("pushdown.sql", "SELECT TOP 10 * FROM <SCHEMA>.<TABLE_NAME>")
.load())
pushdown_df.show(5)
AZURE_SQLSERVER, not SQLSERVER, for Azure SQL Database.1433; pass the fully-qualified *.database.windows.net host.schema is usually dbo; database.name is the Azure SQL database.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