-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added dedup sort example #2235
base: devel
Are you sure you want to change the base?
Added dedup sort example #2235
Conversation
✅ Deploy Preview for dlt-hub-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
- The record with the highest value is kept when using `desc` | ||
- For example, between records with id=1, the one with `"metadata_modified"="2024-01-02"` is kept | ||
|
||
2. For records with identical values in the dedup_sort column: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. For records with identical values in the dedup_sort column: | |
2. For records with identical values in the `dedup_sort` column: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
def sample_data(): | ||
for item in data: | ||
yield item | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also provide the output, what rows will be loaded
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
58a98c7
to
a212bb0
Compare
@dat-a-man can you apply my comments? |
Applied the comments |
Description
Added an example demonstrating how dedup sort behaves when rows contain identical values.