Changed Users in Load
Before refreshing the dimension, compare the freshest version of each src_id from stg_users with the current row in dim_users. Freshness is determined by latest loaded_at, with the larger id breaking ties. Return src_id values that are present in both tables but differ in name or email, sorted by src_id.
Esempio di output atteso
Ecco come appare una risposta corretta — il suo numero di righe è a sé stante, non deve corrispondere alle tabelle dello schema.
| src_id |
|---|
| 101 |
Accedi per vedere la cronologia degli invii
AccediAccedi per usare l'AI Mentor
Accedi