# Delta Sharing

**Delta Sharing**是一项开放的REST协议，用于跨组织安全、实时地交换大型数据集，共享对云数据集部分内容的访问权而无需复制数据。它由[Databricks](https://www.edgepedia.org/zh/databricks)于2021年5月26日在数据+AI峰会上发布，是该公司继[Apache Spark](https://www.edgepedia.org/zh/apache-spark)、[Delta Lake](https://www.edgepedia.org/zh/delta-lake)、MLflow和Koalas之后的第五个主要开源项目，并被捐赠给Linux基金会<sup>[1](https://www.prnewswire.com/news-releases/databricks-unveils-delta-sharing-the-worlds-first-open-protocol-for-real-time-secure-data-sharing-and-collaboration-between-organizations-301299496.html)</sup>。该协议利用Amazon S3、Azure Data Lake Storage（ADLS）和Google Cloud Storage（GCS）等现代云存储服务来可靠地传输数据，让用户能够通过pandas和Tableau等工具，或任何其他支持该开放协议的产品来访问共享数据，且无需事先搭建专用平台<sup>[2](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md)</sup>。

| 关键事实 | 详情 |
|---|---|
| 是什么 | 一种用于安全、实时交换大型数据集的开放协议，以Delta Lake和Apache Parquet格式跨平台、跨云、跨区域共享数据<sup>[2](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md)</sup><sup> • </sup><sup>[3](https://www.databricks.com/product/delta-sharing)</sup> |
| 发布时间 | 2021年5月26日，于数据+AI峰会；Databricks的第五个主要开源项目，捐赠给Linux基金会<sup>[1](https://www.prnewswire.com/news-releases/databricks-unveils-delta-sharing-the-worlds-first-open-protocol-for-real-time-secure-data-sharing-and-collaboration-between-organizations-301299496.html)</sup> |
| 核心模型 | 共享包含模式，模式包含表；接收方使用持有者令牌向共享服务器进行身份验证<sup>[2](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md)</sup> |
| 访问模式 | 基于URL的访问（使用预签名文件URL）和基于目录的访问（使用STS令牌等临时云凭据）<sup>[4](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md?plain=1)</sup> |
| 采用情况 | 自2021年以来被4000多家企业采用，使用量连续两年同比增长超过300%<sup>[5](https://www.vldb.org/pvldb/vol18/p5197-puttaswamy.pdf)</sup><sup> • </sup><sup>[6](https://www.databricks.com/blog/announcing-first-class-support-iceberg-format-databricks-delta-sharing?trk=public_post_comment-text)</sup> |
| 现状 | 演变为OpenSharing，Databricks于2026年6月宣布其为共享Agent Skills、AI模型和非结构化数据等AI资产的开放协议<sup>[7](https://www.databricks.com/blog/introducing-opensharing-next-evolution-delta-sharing-agentic-era?trk=public_post_comment-text)</sup><sup> • </sup><sup>[8](https://docs.databricks.com/gcp/pt/release-notes/product/2026/june)</sup> |

## 目的与设计

在Delta Sharing之前，跨组织的数据共享解决方案通常绑定于单一供应商，这给运行不同平台的提供方和消费方都造成了摩擦<sup>[9](https://www.databricks.com/blog/2021/05/26/introducing-delta-sharing-an-open-protocol-for-secure-data-sharing.html)</sup>。在Databricks给出的例子中，一家零售商希望与其供应商的一位分析师共享数据，可以使用云数据仓库，但供应商的分析师随后需要与IT、安全和采购团队协作来部署相同的仓库产品，这一过程可能耗时数月；而部署完成后，分析师的第一步仍然是将数据导出到pandas或Tableau之类的工具中<sup>[9](https://www.databricks.com/blog/2021/05/26/introducing-delta-sharing-an-open-protocol-for-secure-data-sharing.html)</sup>。

该协议围绕零拷贝设计构建：数据以Delta Lake或[Apache Parquet](https://www.edgepedia.org/zh/apache-parquet)格式留在原地，接收方通过协议实时读取，而非接收导出的副本<sup>[3](https://www.databricks.com/product/delta-sharing)</sup>。规范定义了REST API以及任何客户端和服务器交换数据时使用的消息格式，因此任何实现该规范的系统都可以互操作<sup>[2](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md)</sup>。根据规范概述，这种方法将接收方的访问时间从数月缩短到数分钟<sup>[2](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md)</sup>。

## 概念与数据模型

该协议定义了五个核心概念<sup>[2](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md)</sup>：

- **共享（Share）**：一种逻辑分组，通过它向接收方提供资源；一个共享可以共享给单个接收方或多个接收方，接收方可以访问共享内的所有资源，一个共享可以包含多个模式。
- **模式（Schema）**：表的逻辑分组；一个模式可以包含多个表。
- **表（Table）**：一张Delta Lake表或基于Delta Lake表的视图。
- **接收方（Recipient）**：拥有访问共享表的持有者令牌的主体。
- **共享服务器（Sharing Server）**：实现该协议的服务器。

接收方会收到一个配置文件，即一份JSON文档，包含共享服务器端点、持有者令牌以及可选的[ISO 8601](https://www.edgepedia.org/zh/iso-8601)格式的令牌过期时间<sup>[2](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md)</sup>。

## 客户端如何读取数据

该协议支持两种访问模式<sup>[4](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md?plain=1)</sup>：

1. **基于URL的访问**：服务器为各个数据文件返回预签名URL，客户端通过查询表API获取这些文件。
2. **基于目录的访问**：服务器通过生成临时表凭据API发放临时云凭据（如STS令牌），客户端使用云存储API直接读取Delta日志和数据文件。

服务器返回的表元数据包含一个`accessModes`数组，指示服务器对该表支持哪些模式；为向后兼容，如果`accessModes`不存在，客户端应假定服务器仅支持基于URL的访问<sup>[4](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md?plain=1)</sup>。

响应是换行分隔的JSON动作序列：协议动作声明客户端必须实现的最低读取器版本，元数据动作描述表，文件动作列出数据文件<sup>[2](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md)</sup>。客户端可以请求`delta`响应格式，以便使用删除向量或列映射等高级读取器功能来读取共享的Delta表；该格式的支持从delta-sharing-spark 3.1起可用<sup>[4](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md?plain=1)</sup>。该协议还定义了变更数据馈送读取、SQL和JSON谓词过滤，以及通过`maxFiles`和`pageToken`参数进行分页，其中`predicateHints`和`limitHint`被视为提示，客户端仍须对返回的数据应用这些条件<sup>[2](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md)</sup>。Delta Sharing Streaming基于Spark Structured Streaming，采用拉取模型从共享表消费新数据，从delta-sharing-spark 0.6.0起得到支持<sup>[2](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md)</sup>。

## 实现与生态

开源仓库包含协议规范、一个将共享表读取为pandas或Spark DataFrame的Python连接器，以及一个用于测试连接器的Delta Sharing参考服务器，以预构建的Docker镜像形式分发<sup>[10](https://github.com/delta-io/delta-sharing)</sup>。参考服务器支持基本的持有者令牌授权，项目建议在公开暴露时将其置于NGINX等安全代理之后以进行JWT认证<sup>[10](https://github.com/delta-io/delta-sharing)</sup>。

社区连接器涵盖Power BI、Clojure、Node.js、Java、Rust、Go、C++和R等；CRAN上的R包`delta.sharing`将R连接到Delta Sharing服务器，用于共享发现、表元数据、快照读取和变更数据馈送读取<sup>[10](https://github.com/delta-io/delta-sharing)</sup><sup> • </sup><sup>[11](https://mirrors.ibiblio.org/CRAN/web/packages/delta.sharing/index.html)</sup>。

## 采用与演进

Databricks作者在《Proceedings of the VLDB Endowment》上发表的2025年论文报告称，自2021年发布以来，Delta Sharing已被4000多家企业采用，并得到数百家主要软件和数据供应商的支持，该论文还基于4000多个组织的共享模式，首次对生产环境中的数据共享工作负载进行了大规模研究<sup>[5](https://www.vldb.org/pvldb/vol18/p5197-puttaswamy.pdf)</sup>。发布之初，支持者包括Nasdaq、ICE、S&P、Precisely、Factset、Foursquare和SafeGraph等数据提供商，以及AWS、Google Cloud和Tableau等软件供应商<sup>[1](https://www.prnewswire.com/news-releases/databricks-unveils-delta-sharing-the-worlds-first-open-protocol-for-real-time-secure-data-sharing-and-collaboration-between-organizations-301299496.html)</sup>。Databricks产品页面将主要用例确定为内部业务线共享（包括跨云或跨区域构建数据网格）、企业对企业共享，以及面向销售数据产品的公司的[数据变现](https://www.edgepedia.org/zh/data-monetization)<sup>[3](https://www.databricks.com/product/delta-sharing)</sup>。

**格式扩展。** 2026年1月，Databricks宣布对[Apache Iceberg](https://www.edgepedia.org/zh/apache-iceberg)格式提供一等支持：数据接收方可以在任何支持Iceberg REST Catalog API的客户端中消费Delta共享，包括[Snowflake](https://www.edgepedia.org/zh/snowflake-inc)、Trino、Flink和Spark，提供方可以共享来自外部目录的Iceberg表<sup>[6](https://www.databricks.com/blog/announcing-first-class-support-iceberg-format-databricks-delta-sharing?trk=public_post_comment-text)</sup>。同一公告还报告使用量连续两年同比增长超过300%，并将SAP、Walmart、Navitaire、Atlassian和LSEG列为使用Delta Sharing的主要数据提供商<sup>[6](https://www.databricks.com/blog/announcing-first-class-support-iceberg-format-databricks-delta-sharing?trk=public_post_comment-text)</sup>。

**演变为OpenSharing。** 2026年6月，Databricks宣布了OpenSharing，称其为Delta Sharing的下一次演进：一种跨任何云、供应商和格式共享数据、AI模型、智能体和技能的开放协议<sup>[7](https://www.databricks.com/blog/introducing-opensharing-next-evolution-delta-sharing-agentic-era?trk=public_post_comment-text)</sup>。公告报告称有超过28000个数据接收方，33%的共享通过开放连接器跨平台流动<sup>[7](https://www.databricks.com/blog/introducing-opensharing-next-evolution-delta-sharing-agentic-era?trk=public_post_comment-text)</sup>。Databricks 2026年6月的发布说明指出，随着开源OpenSharing的发布，Delta Sharing现已成为OpenSharing，可在GitHub上获取，并在Databricks上原生使用<sup>[8](https://docs.databricks.com/gcp/pt/release-notes/product/2026/june)</sup>。

Delta Sharing未实现Eclipse Dataspace Protocol或Open Data Spaces Protocol，经济合作与发展组织（OECD）在一份数据空间架构分析中指出了这一区别<sup>[12](https://www.oecd.org/en/publications/data-spaces-between-co-ordination-challenges-financial-viability-and-public-policy_0066f11b-en/full-report/multi-party-co-ordination-as-the-distinctive-value-proposition-and-challenge-of-data-spaces_906f89dd.html)</sup>。

## References

1. [Databricks Unveils Delta Sharing, the World's First Open Protocol for Real-Time, Secure Data Sharing (PR Newswire, May 26, 2021)](https://www.prnewswire.com/news-releases/databricks-unveils-delta-sharing-the-worlds-first-open-protocol-for-real-time-secure-data-sharing-and-collaboration-between-organizations-301299496.html)
2. [Delta Sharing Protocol specification (PROTOCOL.md, delta-io/delta-sharing, GitHub)](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md)
3. [Databricks Delta Sharing: Open Data & AI Sharing (Databricks product page)](https://www.databricks.com/product/delta-sharing)
4. [Delta Sharing Protocol specification, Access Modes (plain view, delta-io/delta-sharing, GitHub)](https://github.com/delta-io/delta-sharing/blob/main/PROTOCOL.md?plain=1)
5. [Puttaswamy, K. et al. (2025). Delta Sharing: An Open Protocol for Cross-Platform Data Sharing. PVLDB, 18(12): 5197-5209](https://www.vldb.org/pvldb/vol18/p5197-puttaswamy.pdf)
6. [Announcing first-class support of Iceberg format in Databricks Delta Sharing (Databricks Blog, January 23, 2026)](https://www.databricks.com/blog/announcing-first-class-support-iceberg-format-databricks-delta-sharing?trk=public_post_comment-text)
7. [Introducing OpenSharing: the Next Evolution of Delta Sharing for the Agentic Era (Databricks Blog, June 16, 2026)](https://www.databricks.com/blog/introducing-opensharing-next-evolution-delta-sharing-agentic-era?trk=public_post_comment-text)
8. [Delta Sharing is now OpenSharing (Databricks on Google Cloud release notes, June 2026)](https://docs.databricks.com/gcp/pt/release-notes/product/2026/june)
9. [Introducing Delta Sharing: An Open Protocol for Secure Data Sharing (Databricks Blog, May 26, 2021)](https://www.databricks.com/blog/2021/05/26/introducing-delta-sharing-an-open-protocol-for-secure-data-sharing.html)
10. [delta-io/delta-sharing: An open protocol for secure data sharing (GitHub)](https://github.com/delta-io/delta-sharing)
11. [delta.sharing: Client for the Delta Sharing Protocol (CRAN)](https://mirrors.ibiblio.org/CRAN/web/packages/delta.sharing/index.html)
12. [Data Spaces between Co-ordination Challenges, Financial Viability and Public Policy (OECD)](https://www.oecd.org/en/publications/data-spaces-between-co-ordination-challenges-financial-viability-and-public-policy_0066f11b-en/full-report/multi-party-co-ordination-as-the-distinctive-value-proposition-and-challenge-of-data-spaces_906f89dd.html)

---
*Initially written Oct 26, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Databases and data systems › Data mining, warehousing, and big data › Big data concepts

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/delta-sharing

English original: https://www.edgepedia.org/delta-sharing
