Aidp Data Sharing

作者 oracle-samples90b42d6c24d4無授權條款收錄於 2026年10月8日更新於 2026年10月8日

Share AIDP data via Delta Sharing — create/manage shares, add data assets, manage recipients, and grant access/permissions. Use when the user wants to share a table/schema with another team or org, set up Delta Sharing, manage recipients, or control share permissions/token expiry. Primary engine is the official `aidp` CLI (`aidp delta-share …`); the same GA REST API via `oci raw-request` is the no-CLI fallback.

僅含說明DevOps & Cloud
AI 產生的概覽

透過 aidp CLI 或 REST 備援方式管理 AIDP Delta Sharing 的共用與接收者。

功能
此技能引導代理建立與管理 Delta Sharing 共用、加入資料資產、建立並連結接收者,以及授予存取或權限。內容涵蓋接收者權杖的到期與輪換,並在沒有 CLI 時提供使用 oci raw-request 的 REST 備援做法。它僅為指示文件,本身不會產生檔案。
適用情境
當使用者想與其他團隊或組織共用資料表或結構描述、設定 Delta Sharing、管理接收者,或控制共用權限與權杖到期時使用。
執行需求
需要 aidp CLI 及執行個體 ID、api_key 驗證、設定檔與區域;或使用 OCI CLI 進行 raw-request REST 呼叫。需要可存取 AIDP DeltaShare API 的網路連線與有效憑證。此技能未隨附指令碼。

aidp-data-sharing — Delta Sharing (shares & recipients)

Open data sharing over the Delta Sharing protocol via the AIDP DeltaShare API. A differentiator: open-protocol sharing driven from the agent.

CLI (preferred): aidp delta-share <command> --instance-id <DATALAKE_OCID> --auth api_key --profile DEFAULT --region <r>

  • Shares: aidp delta-share create | get | list | update | delete | manage-access | manage-data-asset | manage-permission | list-data-assets
  • Recipients: aidp delta-share create-recipient | get-recipient | list-recipients | update-recipient | delete-recipient | manage-recipient-permission | list-recipient-shares | list-recipient-permissions

Fallback (no CLI): same DeltaShare REST API via oci raw-request (identical endpoint + auth; see references/oci-raw-request.md).

Verify-first: GET /shares and GET /recipients are LIVE-VERIFIED 200 on 20240831/dataLakes (auth --profile DEFAULT, api_key) — aidp delta-share list / list-recipients hit the same path. Default to that version/prefix; treat 20260430 as the future GA target and probe only after a tenancy upgrade. Confirm any write with a live response before destructive actions; record in references/rest-endpoint-map.md.

When to use

  • "Share this table/schema with <team/org>", "set up Delta Sharing", "add/manage a recipient", "grant access to a share", "rotate a recipient token".

Workflow

  1. Verify with aidp delta-share list (CLI) — or GET /shares (REST fallback; auth ladder in references/oci-raw-request.md).
  2. Create a share → add data assets (manage-data-asset, referencing real catalog tables from aidp-catalog-explore) → create/attach recipients → manage access/permissions.
  3. Recipient tokens: surface expiry; rotate via update-recipient / manage-recipient-permission. Never print the recipient bearer token.
  4. Confirm before granting access or deleting a share/recipient (outward-facing — data leaves the tenancy).

Mutating ops (share/recipient create, manage-access, manage-data-asset, manage-permission, manage-recipient-permission): persist the body to .aidp/payloads/ and confirm first (references/payloads.md).

Fallback (no CLI) — REST endpoints (base 20240831/dataLakes/<OCID>)

  • Shares: POST|GET /shares · GET|PUT|DELETE /shares/{k} · GET /shares/{k}/recipients|permissions|dataAssets · POST /shares/{k}/actions/manageAccess|managePermission|manageDataAsset
  • Recipients: POST|GET /recipients · GET|PUT|DELETE /recipients/{k} · GET /recipients/{k}/shares|permissions · POST /recipients/{k}/actions/managePermission

Guardrails

  • Sharing publishes data externally — confirm scope (which assets, which recipient) before any grant.
  • Don't log share tokens/credentials.

References

  • references/aidp-cli-map.md · references/payloads.md · references/oci-raw-request.md · references/rest-endpoint-map.md

來源與署名

來源:oracle-samples/oracle-aidp-samples位於ai/claude-code-plugins/oracle-ai-data-platform-workbench-engineer-agent/skills/aidp-data-sharing提交90b42d6

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架

更多來自 oracle-samples/oracle-aidp-samples 的技能

Aidp Workspace Admin

oracle-samples

Provision and inspect AIDP DataLake instances and workspaces, including private-network workspaces attached to a customer VCN/subnet. Use when the user wants to create/list/get a workspace or DataLake instance, set up a new (e.g. private) AIDP environment, or replicate a customer setup. Create/delete are guarded — confirm before any provisioning.

待分類2026年10月8日

Aidp Volumes

oracle-samples

Work with AIDP volumes — list volumes, browse files inside a volume, upload/download via the PAR flow, and create directories. Use when the user mentions volumes, needs to stage large/binary files, or move data in/out of a volume (distinct from the workspace filesystem). Control-plane via the official `aidp` CLI.

待分類2026年10月8日

Aidp Verified Queries

oracle-samples

維護經過驗證的問題到 Spark SQL 配對庫,讓代理在產生新 SQL 前優先重用可信查詢。

Data & Analytics2026年10月8日

Aidp User Settings

oracle-samples

透過 aidp CLI 或 oci raw-request 備援方式管理 AIDP DataLake 使用者設定與偏好。

Productivity & Workflow2026年10月8日

Aidp Spark Optimization

oracle-samples

指導 Apache Spark 3.5.0 效能調校:分割區、shuffle、join、資料傾斜、記憶體、檔案配置、AQE 與 Delta Lake。

Data & Analytics2026年10月8日

Aidp Semantic Model

oracle-samples

維護 .aidp/semantic.md 業務語意層,定義指標、連接、同義詞與值字典,為自然語言轉 SQL 提供依據。

Data & Analytics2026年10月8日