Skip to content

feat(datafusion): Allow to iterate over predicates got from filters - #12

Merged
askalt merged 1 commit into
df-52.3.0-release-bindingfrom
aonovikov/feat/filters_to_predicates
Jun 10, 2026
Merged

askalt merged 1 commit into
df-52.3.0-release-bindingfrom
aonovikov/feat/filters_to_predicates

Conversation

@novartole

Copy link
Copy Markdown

Which issue does this PR close?

Prior the patch incoming filters were filtered and reduced before return.
This approach hides information about which particular filter can be converted.

What changes are included in this PR?

A new introduced function returns an iterator of optional filters:

  • None - same positioned input filter cannot be converted,
  • Some(predicate) - filter has been converted to predicate.

Old function is kept and re-uses the new function under the hood.

Are these changes tested?

Unit testing includes tests of the new function.

Prior the patch incoming filters were filtered and reduced before return.
This approach hides information about which particular filter can be converted.
A new introduced function returns an iterator of optional filters:
* `None` - same positioned input filter cannot be converted,
* `Some(predicate)` - filter has been converted to predicate.

Old function is kept and re-uses the new function under the hood.
@novartole
novartole requested review from aectaan and kryvashek June 8, 2026 09:41
@kryvashek

kryvashek commented Jun 10, 2026 •

Copy link
Copy Markdown
Member

Thank you for the patch! I have the only comment you can see above, anything else LGTM.

@askalt
askalt merged commit 09363fc into df-52.3.0-release-binding Jun 10, 2026
12 of 17 checks passed
@askalt
askalt deleted the aonovikov/feat/filters_to_predicates branch September 28, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants