Skip to content

Error handling in various places#9365

Open
rambleraptor wants to merge 2 commits intoapache:mainfrom
rambleraptor:patches-stability
Open

Error handling in various places#9365
rambleraptor wants to merge 2 commits intoapache:mainfrom
rambleraptor:patches-stability

Conversation

@rambleraptor
Copy link
Contributor

@rambleraptor rambleraptor commented Feb 5, 2026

Which issue does this PR close?

Rationale for this change

We've been doing some internal work with Parquet and found a bunch of places where error messages could be improved or panics could be avoided.

I can split this up into multiple PRs if need be. I know it's an assortment of things.

What changes are included in this PR?

Are these changes tested?

Tests should continue to pass.

Are there any user-facing changes?

@github-actions github-actions bot added the parquet Changes to the parquet crate label Feb 5, 2026
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.

thanks @rambleraptor -- I think @jhorstmann 's comments are good to respond to, but otherwise this PR looks good to me

self.decoders[encoding as usize]
.as_mut()
.expect("Decoder for dict should have been set")
match self.decoders[encoding as usize].as_mut() {
Copy link
Contributor

Choose a reason for hiding this comment

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

did you find some code path that can trigger this error?

@alamb
Copy link
Contributor

alamb commented Feb 11, 2026

It seems like there are some real CI errors that need to be addressed

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

Labels

parquet Changes to the parquet crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants