DISTINCT keeps one representative per projected row.
highlighted = computed this step
Full-row duplicate removal
After projection, DISTINCT removes repeated projected rows.
remove repeated rows
Read duplicate drops
The compiler drops 3 duplicate projected rows.
duplicate drops=3
DISTINCT examples are tiny finite bag-to-table transforms; this model shows first-seen representatives for deterministic display and does not claim product SQL output ordering.
One representative remains
Each duplicate group keeps one displayed representative in this finite model.