Skip to content

Commit 58a98c7

Browse files
committed
Updated formatting
1 parent 31f31a2 commit 58a98c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/website/docs/general-usage/incremental-loading.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ If you use the `merge` write disposition, but do not specify merge or primary ke
120120
The appended data will be inserted from a staging table in one transaction for most destinations in this case.
121121
:::
122122

123-
Example: Dedup sort behavior example
123+
Example: Deduplication with Timestamp based sorting
124124

125125
```py
126126
# Sample data
@@ -145,13 +145,13 @@ def sample_data():
145145
```
146146
When this resource is executed, the following deduplication rules are applied:
147147

148-
1. For records with different values in the dedup_sort column:
148+
1. For records with different values in the `dedup_sort` column:
149149
- The record with the highest value is kept when using `desc`
150-
- For example, between records with id=1, the one with metadata_modified="2024-01-02" is kept
150+
- For example, between records with id=1, the one with `"metadata_modified"="2024-01-02"` is kept
151151

152152
2. For records with identical values in the dedup_sort column:
153153
- The first occurrence encountered is kept
154-
- For example, between records with id=2 and identical metadata_modified="2024-01-01", the first record (value="C") is kept
154+
- For example, between records with id=2 and identical `"metadata_modified"="2024-01-01"`, the first record (value="C") is kept
155155

156156
#### Delete records
157157
The `hard_delete` column hint can be used to delete records from the destination dataset. The behavior of the delete mechanism depends on the data type of the column marked with the hint:

0 commit comments

Comments
 (0)