QuestionQ204
VerifiedData Transformation, Cleansing, and QualityA company operates a task-management system that records the latest status of tasks. The system receives task events and processes them in near real time with Lakeflow Spark Declarative Pipelines. A new task event enters the system when a task is created or its status changes. Lakeflow Spark Declarative Pipelines exposes a streaming table, tasks_status, for BI users to query. The table represents the most recent status of every task and contains five columns: task_id (unique for each task), task_name, task_owner, task_status, and task_event_time. The table has these three properties enabled: deletion vectors, row tracking, and change data feed.
A data engineer must create a new Lakeflow Spark Declarative Pipelines pipeline to enrich the task_status table in near real time by adding one column for the task owner’s department, which can be looked up from a static dimension table named employee.
How should this enrichment be implemented?
Community Discussion