This is an automated email from the ASF dual-hosted git repository.
thisisnic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 8fabb87600 GH-50897: [Python] Fix typo LZ0 -> LZO in ORC writer
docstring (#50898)
8fabb87600 is described below
commit 8fabb876002b1af04590618e77b319ce0ecaac25
Author: Maulik Patel <[email protected]>
AuthorDate: Fri Sep 4 06:49:48 2026 -0500
GH-50897: [Python] Fix typo LZ0 -> LZO in ORC writer docstring (#50898)
### Rationale for this change
Fix a typo in the ORC writer `compression` docstring where `LZ0` was
incorrectly written instead of `LZO`.
### What changes are included in this PR?
Change `LZ0` to `LZO` in the `python/pyarrow/orc.py` documentation.
### Are these changes tested?
Documentation-only change; no code behavior is affected.
### Are there any user-facing changes?
No
* GitHub Issue: #50897
Authored-by: Maulik Patel <[email protected]>
Signed-off-by: Nic Crane <[email protected]>
---
python/pyarrow/orc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/pyarrow/orc.py b/python/pyarrow/orc.py
index 4e0d66ec66..8da0a2de79 100644
--- a/python/pyarrow/orc.py
+++ b/python/pyarrow/orc.py
@@ -200,7 +200,7 @@ stripe_size : int, default 64 * 1024 * 1024
compression : string, default 'uncompressed'
The compression codec.
Valid values: {'UNCOMPRESSED', 'SNAPPY', 'ZLIB', 'LZ4', 'ZSTD'}
- Note that LZ0 is currently not supported.
+ Note that LZO is currently not supported.
compression_block_size : int, default 64 * 1024
Size of each compression block in bytes.
compression_strategy : string, default 'speed'