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、连接、倾斜、内存、文件布局、AQE 与 Delta Lake。

Data & Analytics2026年10月8日

Aidp Semantic Model

oracle-samples

维护 .aidp/semantic.md 业务语义层,定义指标、连接、同义词和值字典,为自然语言转 SQL 提供依据。

Data & Analytics2026年10月8日