QuestionQ61

VerifiedData Modelling

A junior data engineer is moving a workload from a relational database system to the Databricks Lakehouse. The source system uses a star schema and relies on foreign key constraints and multi-table inserts to validate records during writes.

Which consideration will affect the engineer’s migration decisions for this workload?

Explanation

Delta Lake transaction behavior is scoped to an individual table, so writes affecting multiple related tables are independent transactions and can leave temporarily mismatched states if one succeeds while another fails or is delayed. Databricks primary and foreign key constraints are informational and are not enforced, so they cannot provide the source system’s foreign-key validation on write. Databricks data modeling, Databricks constraints.

Learn more

Community Discussion

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