Skip to content

Conversation

@pepijnve
Copy link
Contributor

@pepijnve pepijnve commented Nov 4, 2025

Which issue does this PR close?

Rationale for this change

See problem statement in #8781

What changes are included in this PR?

  • The internal function multiple_arrays has been moved to FilterBuilder and made public
  • The function has been renamed to is_optimize_beneficial to make it intention revealing rather than a description of the implementation

Are these changes tested?

No functional changes

Are there any user-facing changes?

No breaking changes

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.

Thank you @pepijnve -- this looks great to me

}

/// Compute an optimised representation of the provided `filter` mask that can be
/// Compute an optimized representation of the provided `filter` mask that can be
Copy link
Contributor

Choose a reason for hiding this comment

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

100% for consistent (american) spelling

@alamb
Copy link
Contributor

alamb commented Nov 9, 2025

Since I had some thoughts about comments, I'll just push them directly to the PR

@alamb
Copy link
Contributor

alamb commented Nov 11, 2025

CI was failing due to

which was fixed in arrow-go

I merged up to get a clean run

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.

Simplify decision logic to call FilterBuilder::optimize or not

2 participants