QuestionQ221

VerifiedData Processing & Transformations

A data engineer has joined an existing project and they see the following query in the project repository:

CREATE STREAMING LIVE TABLE loyal_customers AS

SELECT customer_id -

FROM STREAM(LIVE.customers)

WHERE loyalty_level = 'high';

Which of the following describes why the STREAM function is included in the query?

Explanation

In Delta Live Tables (DLT), the STREAM() function marks an input table as a streaming live table, indicating that the query should process data incrementally as new records arrive. This enables incremental processing rather than full-table scans, making loyal_customers also a streaming live table that continuously updates as new customer data flows into the customers table.

Community Discussion

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