Describe how you would build an Airflow DAG to run SQL transformations, including how you would schedule and validate the results.
Explain the task dependencies, scheduling approach, retry and failure behavior, idempotency strategy, and SQL checks used to verify the transformed data.
order_date, country, order_count, and gross_revenue.Unknown, and order by date and country.| Column | Type | Description |
|---|---|---|
| order_idPK | INT | Unique order identifier |
| order_date | DATE | Date on which the order was placed |
| customer_id | INT | Customer associated with the order |
| status | VARCHAR(20) | Current order status |
| amount | DECIMAL(10,2) | Order monetary amount |
| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique customer identifier |
| country | VARCHAR(50) | Customer country |