#1097

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.

Δείγμα αναμενόμενης εξόδου

Έτσι μοιάζει μια σωστή απάντηση — το πλήθος γραμμών της είναι δικό της, δεν χρειάζεται να ταιριάζει με τους πίνακες του σχήματος.

src_id
101

Το αποτέλεσμα του ερωτήματός σας θα εμφανιστεί εδώ