The protocol is documented at delta.io/sharing and in its specification. The REST endpoints behind it, for shares, schemas, tables, queries and change feeds, are in the Delta Sharing Protocol reference.
Before you start
- Ask Lobyco for an activation link. It is a one-time URL that stops working once opened, and opening it downloads the profile file that holds your credentials.
- A client that implements the protocol. The examples below use the Python connector, installed with
pip install delta-sharing.
The flow
1
2
3
4
5
[Optional] Query the changes
For an incremental load, read only the rows that changed between two versions or two timestamps.starting_versionandending_version, both inclusive and both optional.starting_timestampandending_timestamp, both optional, in the formyyyy-mm-dd hh:mm:ss[.fffffffff]. A starting timestamp resolves to the first version created at or after it, an ending timestamp to the last version created at or before it.
Failure and edge cases
The connection works whenlist_all_tables() returns the tables of your share. From there every read is an ordinary pandas or Spark workflow.
- The activation link has stopped working. It is single-use. If nobody saved the profile file, ask Lobyco for a new link.
- The data looks stale. A package refreshes once per day on the Essential tier and once per hour on Premium. See Using the data packages.
- Other clients. Spark, Tableau and the other clients listed on delta.io take the same profile file.
API reference
Endpoint documentation: Delta Sharing Protocol.Related
- Data packages — the tables you can read, package by package.
- Using the data packages — the tiers, their cost, and the rules for using the data.