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

Minor: improve filter documentation #6317

Merged
merged 2 commits into from
Aug 31, 2024
Merged

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Aug 28, 2024

Which issue does this PR close?

Rationale for this change

While reviewing #6304 with @crepererum and @gstvg I found the documentaiton on filtering could be clearer (basically make it easier to understand the API locally)

What changes are included in this PR?

Are there any user-facing changes?

documentation only, no functional changes

@alamb alamb added the documentation Improvements or additions to documentation label Aug 28, 2024
@github-actions github-actions bot added the arrow Changes to the arrow crate label Aug 28, 2024
/// Returns a filtered `values` [Array] where the corresponding elements of
/// `predicate` are `true`.
///
/// See also [`FilterBuilder`] for more control over the filtering process.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this link is important I think

Copy link
Contributor

@crepererum crepererum left a comment

Choose a reason for hiding this comment

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

FWIW I was also confused by the filter thingy, because I thought it would be an AST-based predicate, but it's just a mask.

@alamb
Copy link
Contributor Author

alamb commented Aug 31, 2024

Thank you @crepererum and @gstvg

@alamb alamb merged commit 69e5e5f into apache:master Aug 31, 2024
25 checks passed
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 documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants