Skip to content

Conversation

@jecsand838
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

The arrow-avro crate currently lacks support for reading bzip2 and xz compression. This prevents users from reading Avro files compressed using these compression types, limiting the crate's utility.

What changes are included in this PR?

  • Added bzip2 compression and feature flag.
  • Added xz compression and feature flag.
  • Updated header decoder to use new compression types.

Are these changes tested?

Yes, I added new test cases covering these changes to the test_alltypes integration test.

Are there any user-facing changes?

N/A

@github-actions github-actions bot added the arrow Changes to the arrow crate label Jul 10, 2025
@jecsand838 jecsand838 force-pushed the avro-reader-compression branch from 6639848 to fd68d93 Compare July 10, 2025 04:29
@jecsand838 jecsand838 force-pushed the avro-reader-compression branch from fd68d93 to 702bd99 Compare July 10, 2025 05:14
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks great -- thank you @jecsand838

@alamb alamb merged commit b634638 into apache:main Jul 11, 2025
24 checks passed
@jecsand838 jecsand838 deleted the avro-reader-compression branch July 11, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants