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.
Przykładowy oczekiwany wynik
Tak wygląda poprawna odpowiedź — liczba jej wierszy jest swoista i nie musi odpowiadać tabelom ze schematu.
| src_id |
|---|
| 101 |
Zaloguj się, aby zobaczyć historię rozwiązań
Zaloguj sięZaloguj się, aby korzystać z Mentora AI
Zaloguj się