From oracle-ai-data-platform-workbench-databricks-migrator
Scans migration manifest notebooks for spark.read/saveAsTable references and probes AIDP cluster for schema/table/path existence before running expensive Pass-2 migration.
How this skill is triggered — by the user, by Claude, or both
Slash command
/oracle-ai-data-platform-workbench-databricks-migrator:aidp-check-dataThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Pass-2 of the migrator is expensive (live cluster time + Claude-with-tool-use tokens per cell). Running this scan first catches the "no source table" and "wrong bucket" failure modes in seconds instead of hours.
aidp-check-data — pre-migration data-availability scanPass-2 of the migrator is expensive (live cluster time + Claude-with-tool-use tokens per cell). Running this scan first catches the "no source table" and "wrong bucket" failure modes in seconds instead of hours.
aidp-build-dag, before aidp-migrate-job.aidp-migrate-catalog (verify schemas + tables actually landed).python3 ${CLAUDE_PLUGIN_ROOT}/engine/scripts/check_data_availability.py \
--root "<databricks-workspace-path>" \
--cluster <CLUSTER_ID> \
--aidp-base <AIDP_BASE> \
--datalake-ocid <DATALAKE_OCID> \
--workspace-id <WORKSPACE_UUID> \
--oci-profile <profile>
Or for the workflow-shape input (matches aidp-build-dag's workflow path):
python3 ${CLAUDE_PLUGIN_ROOT}/engine/scripts/check_data_availability_for_workflow.py \
--job-id <databricks-job-id> \
--cluster <CLUSTER_ID> \
--aidp-base <AIDP_BASE> \
--datalake-ocid <DATALAKE_OCID> \
--workspace-id <WORKSPACE_UUID> \
--oci-profile <profile>
spark.read.table("...") / spark.table("...")spark.read.parquet/csv/json/delta("...").saveAsTable("...") (target — wrote-to)%sql / spark.sql(...) stringsDESCRIBE TABLE <fq> (and SHOW TABLES IN <schema> to differentiate "schema missing" from "table missing")dbutils.fs.ls(path) via the migrator's helperSample shape:
== check_data_availability_for_workflow report ==
TABLES
OK <catalog>.<schema>.<table_a> 1234567 rows
MISSING <catalog>.<schema>.<table_b> -- DESCRIBE failed: SCHEMA_OR_TABLE_NOT_FOUND
EMPTY <catalog>.<schema>.<table_c> 0 rows
PATHS
OK oci://<bucket>@<ns>/path/to/file 52 objects
MISSING oci://<bucket>@<ns>/missing/path -- listObjects 404
MISSING rows → Pass-2 will definitely fail at those cells. Options:
aidp-migrate-catalog if the underlying schema is missing.aidp-bucket-mapping if s3:// → oci:// rewrites haven't been done.EMPTY rows → Pass-2 may pass (no error) but produce empty downstream tables. This is the silent failure mode. Decide whether to:
If the manifest references s3:// paths, the scanner also consults <migrator-repo>/config/oci_bucket_tenancy_mapping.json (or whatever your bucket mapping helper resolves) to translate before probing. If the mapping is missing the bucket, the scanner reports a clear S3 bucket X not found in OCI bucket mapping. Fix via aidp-bucket-mapping and re-run.
DESCRIBE — sub-second on a warm cluster.listObjects against OCI Object Storage — also fast.schema.table (no catalog), the scanner resolves against the cluster's current catalog (default). If the user expects a non-default catalog, surface that mismatch.Stopped cluster will make every probe fail with a connection error — instruct the user to start the cluster first.If everything is OK: proceed to aidp-migrate-job.
If anything is MISSING: resolve via aidp-migrate-catalog or aidp-bucket-mapping and re-run this skill.
npx claudepluginhub daiiis/claude-code-plugins --plugin oracle-ai-data-platform-workbench-databricks-migrator2plugins reuse this skill
First indexed Jul 17, 2026
Scans migration manifest notebooks for spark.read/saveAsTable references and probes AIDP cluster for schema/table/path existence before running expensive Pass-2 migration.
Pilot a Databricks Hive Metastore (HMS) → Unity Catalog (UC) migration before the deadline — audit every table's migratability, produce a dependency-ordered migration plan, trace UC's two-level permission model, and pick an environment isolation pattern. Use when a user asks how to migrate off the Hive metastore, move to Unity Catalog, which tables are UC-ready, why a table won't migrate, why a user lacks access after migration, or how to isolate dev/test/prod under UC. Trigger with "migrate to unity catalog", "hive metastore migration", "uc migration", "which tables can migrate", "unity catalog permission".
Plans and executes notebook/job migrations onto AIDP by composing ingestion, notebook, pipeline, and validation skills. Use when porting Databricks workloads to AIDP.