Skip to content

[python] Python bindings - add log filter pushdown - #4127

Open
fresh-borzoni wants to merge 1 commit into
apache:mainfrom
fresh-borzoni:python-filter-pushdown
Open

[python] Python bindings - add log filter pushdown#4127
fresh-borzoni wants to merge 1 commit into
apache:mainfrom
fresh-borzoni:python-filter-pushdown

Conversation

@fresh-borzoni

@fresh-borzoni fresh-borzoni commented Aug 27, 2026

Copy link
Copy Markdown
Member

closes #4128

Adds filter pushdown to the Python client, catching up with the Rust client and the C++ bindings

@fresh-borzoni
fresh-borzoni force-pushed the python-filter-pushdown branch 2 times, most recently from 1bedda6 to 231dc48 Compare August 27, 2026 13:57
@fresh-borzoni
fresh-borzoni force-pushed the python-filter-pushdown branch from 231dc48 to a535ab9 Compare August 27, 2026 14:36
@fresh-borzoni

Copy link
Copy Markdown
Member Author

@leekeiabstraction @charlesdong1991 @naivedogger PTAL 🙏

@fresh-borzoni fresh-borzoni changed the title [python] Create Python bindings for log filter pushdown [python] Python bindings - add log filter pushdown Aug 27, 2026

@leekeiabstraction leekeiabstraction left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ty for the PR. Left an early question. Only a third of the way through atm. Will continue tmr

}
}

fn __and__(&self, other: &Predicate) -> Predicate {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Curious why there are two flavours of and/or functions?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

& and | are the primary form, since and/or are keywords and can't be overloaded. The named ones just mirror .and() in the Rust client and .And() in C++, the way polars pairs Expr.and_() with &.
We can leave one form, just felt it's more intuitive this way :)

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.

[python] log filter pushdown for python bindings

2 participants