Skip to content

Commit 797888f

Browse files
Miliasrtyler
authored andcommitted
Minor documentation typo
Signed-off-by: Francisco Garcia Florez <francisco@truevoid.dev>
1 parent b7f75dd commit 797888f

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

docs/usage/writing/index.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ and fill missing columns with `null`. `schema_mode="merge"` is also supported on
3232
You can overwrite a specific partition by using `mode="overwrite"`
3333
together with `partition_filters`. This will remove all files within the
3434
matching partition and insert your data as new files. This can only be
35-
done on one partition at a time. All of the input data must belong to
35+
done on one partition at a time. All the input data must belong to
3636
that partition or else the method will raise an error.
3737

3838
``` python
@@ -60,20 +60,27 @@ already exist, making this operation idempotent.
6060

6161
This predicate is often called a `replaceWhere` predicate
6262

63-
When you don’t specify the `predicate`, the overwrite save mode will replace the entire table.
64-
Instead of replacing the entire table (which is costly!), you may want to overwrite only the specific parts of the table that should be changed.
65-
In this case, you can use a `predicate` to overwrite only the relevant records or partitions.
63+
When you don’t specify the `predicate`, the overwrite save mode will replace
64+
the entire table. Instead of replacing the entire table (which is costly!), you
65+
may want to overwrite only the specific parts of the table that should be
66+
changed. In this case, you can use a `predicate` to overwrite only the relevant
67+
records or partitions.
6668

6769
!!! note
6870

69-
Data written must conform to the same predicate, i.e. not contain any records that don't match the `predicate` condition,
70-
otherwise the operation will fail
71+
Data written must conform to the same predicate, i.e. not contain any records that don't match the `predicate` condition,
72+
otherwise the operation will fail
7173

7274
{{ code_example('operations', 'replace_where', ['replaceWhere'])}}
7375

74-
## Using Writer Properites
76+
## Using Writer Properties
7577

76-
You can customize the Rust Parquet writer by using the [WriterProperties](../../api/delta_writer.md#deltalake.WriterProperties). Additionally, you can apply extra configurations through the [BloomFilterProperties](../../api/delta_writer.md#deltalake.BloomFilterProperties) and [ColumnProperties](../../api/delta_writer.md#deltalake.ColumnProperties) data classes.
78+
You can customize the Rust Parquet writer by using the
79+
[WriterProperties](../../api/delta_writer.md#deltalake.WriterProperties).
80+
Additionally, you can apply extra configurations through the
81+
[BloomFilterProperties](../../api/delta_writer.md#deltalake.BloomFilterProperties)
82+
and [ColumnProperties](../../api/delta_writer.md#deltalake.ColumnProperties)
83+
data classes.
7784

7885

7986
Here's how you can do it:
@@ -102,4 +109,4 @@ data = pa.table(
102109
)
103110

104111
write_deltalake(table_path, data, writer_properties=wp)
105-
```
112+
```

0 commit comments

Comments
 (0)