Learning Objectives
By the end of this chapter, you will be able to:
- Demonstrate delta sharing securely between Databricks deployments using Databricks to Databricks Sharing (D2D) or to external platforms using the open sharing protocol (D2O).
- Configure Lakehouse Federation with proper governance across the supported source Systems.
- Use Delta Share to share live data from Lakehouse to any computing platform.
Executive Summary
- Delta Sharing is the protocol; D2D and D2O are the two configurations of the same
SHARE,RECIPIENT, andGRANTtriad inside Unity Catalog, with D2D wiring the recipient straight into a peer Databricks metastore and D2O issuing a token-secured activation file consumed by any compliant client. - Lakehouse Federation registers foreign source systems (Snowflake, BigQuery, Redshift, PostgreSQL, MySQL, SQL Server, Azure Synapse, Salesforce Data Cloud, and other supported targets) as foreign catalogs in Unity Catalog without copying data, with Unity Catalog grants governing access and the optimizer pushing predicates and projections back to the foreign engine wherever possible.
- Open-recipient delivery to pandas, non-Databricks Spark, Power BI, Tableau, and custom applications runs over the open Delta Sharing protocol, with the
delta-sharingclient library and a profile file giving consumers the same point-in-time view that the provider sees on a Delta table at the moment of read. - Change Data Feed extended over Delta Sharing turns one-shot snapshot delivery into incremental change capture, letting external consumers stream row-level updates without provider-side ETL or recipient-side reconciliation logic.
Assumptions
- The reader has Unity Catalog enabled on both provider and recipient metastores, with
account adminprivileges available to issueCREATE SHAREandCREATE RECIPIENToperations. - Naming conventions use
<catalog>.<schema>.<table>everywhere; the provider catalogsilver_financeand the sharefinance_sharerecur as worked examples across the chapter. - Cross-references back to prior chapters use the exact terms from Chapter 1, 2, and 3 without re-defining them.
