Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add try_filter_leaves to propagate error from filter closure #5575

Merged
merged 2 commits into from
Apr 3, 2024

Conversation

viirya
Copy link
Member

@viirya viirya commented Mar 31, 2024

Which issue does this PR close?

Closes #5574.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@viirya viirya added the api-change Changes to the arrow API label Mar 31, 2024
@github-actions github-actions bot added arrow Changes to the arrow crate and removed api-change Changes to the arrow API labels Mar 31, 2024
@viirya viirya added the api-change Changes to the arrow API label Mar 31, 2024
@github-actions github-actions bot added the parquet Changes to the parquet crate label Mar 31, 2024
@tustvold
Copy link
Contributor

Perhaps we could add a try_filter_leaves to avoid this being a breaking change, filter_leaves could just call this with unwrap

@viirya
Copy link
Member Author

viirya commented Mar 31, 2024

Perhaps we could add a try_filter_leaves to avoid this being a breaking change, filter_leaves could just call this with unwrap

Sounds good to me. Let me update this later.

@github-actions github-actions bot removed the parquet Changes to the parquet crate label Mar 31, 2024
@viirya viirya removed the api-change Changes to the arrow API label Mar 31, 2024
@viirya viirya changed the title Propagate error from filter closure in filter_leaves. Add try_filter_leaves to propagate error from filter closure Mar 31, 2024
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.

Makes sense to me. Thank you @viirya and @tustvold

@tustvold tustvold merged commit ec85145 into apache:master Apr 3, 2024
26 checks passed
@viirya
Copy link
Member Author

viirya commented Apr 3, 2024

Thank you @tustvold @alamb

This pull request was closed.
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.

Make filter in filter_leaves API propagate error
3 participants