Skip to content

Conversation

mbrobbel
Copy link
Member

@mbrobbel mbrobbel commented Oct 9, 2025

Which issue does this PR close?

None.

Rationale for this change

cargo -p arrow-avro test --no-default-features builds with warnings and panics because of missing features.

What changes are included in this PR?

Add the required feature gates to avoid problems when building without default features.

Are these changes tested?

Tested: cargo -p arrow-avro test --no-default-features

Are there any user-facing changes?

No.

@github-actions github-actions bot added arrow Changes to the arrow crate arrow-avro arrow-avro crate labels Oct 9, 2025
}

#[test]
// TODO: avoid requiring snappy for this file
Copy link
Member Author

Choose a reason for hiding this comment

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

There are some files without .snappy that still seem to require snappy, not sure if that's expected or if we should fix that?

Copy link
Contributor

@jecsand838 jecsand838 Oct 9, 2025

Choose a reason for hiding this comment

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

I noticed that as well. Not 100% why that's the case. My guess would be that it was an attempt at making the test files smaller.

We probably do want some of these files truly uncompressed testing purposes though.

@mbrobbel mbrobbel added this to the 57.0.0 milestone Oct 9, 2025
Copy link
Contributor

@jecsand838 jecsand838 left a comment

Choose a reason for hiding this comment

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

LGTM!

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 arrow-avro arrow-avro crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants