Valid Databricks-Machine-Learning-Professional Dumps shared by EduDump.com for Helping Passing Databricks-Machine-Learning-Professional Exam! EduDump.com now offer the newest Databricks-Machine-Learning-Professional exam dumps, the EduDump.com Databricks-Machine-Learning-Professional exam questions have been updated and answers have been corrected get the newest EduDump.com Databricks-Machine-Learning-Professional dumps with Test Engine here:
A Machine Learning Engineer is tasked with building an automated daily pipeline that updates a customer_features table in Unity Catalog. They have implemented a function, compute_customer_features, that returns a DataFrame with a unique customer_id as the primary key and want to ensure the latest feature values are merged into the table each day. Which code snippet implements this requirement?
Correct Answer: D
Using write_table with mode set to merge updates existing rows and inserts new ones based on the table's primary key. This ensures that the latest feature values for each customer_id are merged into the existing feature table each day without overwriting the entire table, which is the correct and scalable approach for maintaining up-to-date customer features in Unity Catalog.