clean_drop_duplicates
Remove duplicate rows from a data source by exact full-row matching or by specified key columns, keeping the first occurrence per key.
Instructions
New source with duplicates removed.
Without `keys`: exact full-row deduplication (`SELECT DISTINCT *`).
With `keys`: keeps the first row per key combination via ROW_NUMBER.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | ||
| alias | No | ||
| source_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||