Skip to content

GH-50897: [Python] Fix typo LZ0 -> LZO in ORC writer docstring - #50898

Draft
maupatel wants to merge 1 commit into
apache:mainfrom
maupatel:gh-50897-orc-lzo-typo
Draft

GH-50897: [Python] Fix typo LZ0 -> LZO in ORC writer docstring#50898
maupatel wants to merge 1 commit into
apache:mainfrom
maupatel:gh-50897-orc-lzo-typo

Conversation

@maupatel

@maupatel maupatel commented Aug 17, 2026

Copy link
Copy Markdown

Fixes the ORC writer compression docstring in python/pyarrow/orc.py, which read "Note that LZ0 is currently not supported." The token LZ0 (with a zero) is not a real codec name; the intended codec is LZO (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.

Signed-off-by: Maulik Patel <21225464+maupatel@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #50897 has been automatically assigned in GitHub to PR creator.

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #50897 has no components, please add labels for components.

@kou

kou commented Aug 18, 2026

Copy link
Copy Markdown
Member

Could you use our PR template?

@kou
kou marked this pull request as draft August 18, 2026 00:28

@Reranko05 Reranko05 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Python] Typo in ORC writer docstring: LZ0 should be LZO

3 participants