Sub topic 3
What Delta Sharing is
This chapter assumes you know what a Delta table is (covered in the previous chapter), have a general idea of cloud object storage such as S3, ADLS or GCS, and understand HTTPS, REST APIs and bearer tokens. It gives the working model of the protocol. Later chapters cover roles, shares, setup and reading in detail.
The definition
Delta Sharing is an open protocol for sharing live data from Delta Lake tables with other organisations. It runs over HTTPS. The data is not copied into a separate export, and the recipient does not need the same platform as the provider.
The protocol defines three things:
- A REST API that a sharing server exposes, so a client can ask what it may read.
- A way to return data as ordinary files (Parquet) through short-lived, pre-signed URLs.
- A small credential format, the profile file, that tells a client where the server is and how to authenticate.
Because the specification is open, any vendor or team can implement a server or a client. The open-source project ships a reference server and connectors for pandas, Apache Spark and other tools.
The main idea: control plane and data plane
Delta Sharing separates deciding who may read from moving the bytes.
- The sharing server is the control plane. It checks the bearer token, finds which table files make up the requested table version, and returns a list of pre-signed URLs.
- Object storage is the data plane. The client downloads the Parquet files directly from storage using those URLs.
The sharing server never streams table data itself. This is why the approach scales: large reads go to object storage, which is built for that load, and the server handles only small metadata requests.
The next chapters walk through this request flow step by step. For now, remember the split: the server answers questions, and storage serves files.
What the recipient sees
The recipient gets a read-only view of a table at a specific version. Because the files come from the provider's own Delta table, the recipient sees current data when the provider updates it. There is no scheduled export job to maintain.
The recipient does not need to run Delta Lake or have an account on the provider's platform. A pandas user can load a shared table with a profile file and a table URL. Recipients can also use Spark, and, on Databricks, SQL.
How it differs from adjacent approaches
| Approach | Data movement | Recipient needs | Typical weakness |
|---|---|---|---|
| File drops (SFTP, bucket copies) | Full copy per delivery | Ingest pipeline | Stale data, duplicate storage |
| Custom REST API | Served through your API | Client code per provider | You build and scale the API |
| Direct storage access | None | Cloud account and IAM trust | Hard to scope and revoke across organisations |
| Delta Sharing | Files read in place via pre-signed URLs | A connector and a profile file | Provider must use Delta tables |
Common errors in the mental model
- Thinking the sharing server holds a copy of the data. It holds configuration and metadata, and it signs URLs for files that remain in the provider's storage.
- Assuming a pre-signed URL is permanent. These URLs expire after a short time. A client must ask the server again when they lapse.
- Assuming the recipient needs Databricks. Databricks is one implementation, and the protocol itself is vendor neutral.
- Forgetting storage-side costs. Reads still hit the provider's object storage, so egress charges can apply. The costs chapter covers this.
Exercise
A recipient loads a 50 GB shared table. Which component transfers most of those bytes, the sharing server or object storage, and why does that design help the provider?
Show answer
Object storage transfers them, because the sharing server returns only pre-signed URLs and the client downloads the Parquet files directly from storage. The server handles only small metadata requests, so it does not become a bandwidth bottleneck and the provider does not have to scale it to match data volume.
Exercise
Name two reasons Delta Sharing can be preferable to sending recipients a nightly CSV export.
Show answer
Recipients read current table data without waiting for an export, and the provider does not maintain a delivery pipeline or store duplicate copies. Access is also controlled and revocable through tokens, and the data stays in an open, typed format (Parquet) instead of flat text.