GH-50897: [Python] Fix typo LZ0 -> LZO in ORC writer docstring - #50898
Draft
maupatel wants to merge 1 commit into
Draft
GH-50897: [Python] Fix typo LZ0 -> LZO in ORC writer docstring#50898maupatel wants to merge 1 commit into
maupatel wants to merge 1 commit into
Conversation
Signed-off-by: Maulik Patel <21225464+maupatel@users.noreply.github.com>
|
|
|
|
Member
|
Could you use our PR template? |
kou
marked this pull request as draft
August 18, 2026 00:28
Reranko05
reviewed
Aug 18, 2026
Reranko05
left a comment
Collaborator
There was a problem hiding this comment.
Please use this PR template for the description:
### 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?
Yes
- GitHub Issue: #50897
Once updated, you can mark the PR as ready for review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the ORC writer
compressiondocstring inpython/pyarrow/orc.py, which read "Note that LZ0 is currently not supported." The tokenLZ0(with a zero) is not a real codec name; the intended codec isLZO(Lempel-Ziv-Oberhumer). The valid-values list just above it spells the other codecs correctly.Closes #50897.
Documentation-only, single-character change; no code or behavior changes.