QuestionQ238

VerifiedData Sharing and Federation

A data engineer is setting up Delta Sharing for a Databricks-to-Databricks scenario to optimize read performance. The recipient must run time travel queries and streaming reads against shared sales data.

Which configuration provides optimal performance while enabling these capabilities?

Explanation

Databricks-to-Databricks sharing with WITH HISTORY enables time travel and allows the shared table to be used as a Structured Streaming source. History sharing improves read performance through scoped cloud-storage credentials, with performance comparable to direct source-table access; tables with partitioning enabled do not receive this benefit. Enabling change data feed (CDF) before sharing also permits streaming reads of changes.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!