Skip to content

RFC, feat: Add SQLExpr.filter method#3437

Draft
FBruzzesi wants to merge 1 commit intomainfrom
feat/lazy-expr-filter
Draft

RFC, feat: Add SQLExpr.filter method#3437
FBruzzesi wants to merge 1 commit intomainfrom
feat/lazy-expr-filter

Conversation

@FBruzzesi
Copy link
Member

Description

Opening as RFC because support is not for all methods - I am specifically excluding len, but I might be missing some other cases.

As hinted in a comment in the test, for len we can get the right result only if there are no nulls, which of course we cannot guarantee. I am checking if there is another way, but for now I am explicitly raising a NotImplementedError

What type of PR is this? (check all applicable)

  • 💾 Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 🔧 Optimization
  • 📝 Documentation
  • ✅ Test
  • 🐳 Other

Related issues

Checklist

  • Code follows style guide (ruff)
  • Tests added
  • Documented the changes

@FBruzzesi FBruzzesi added enhancement New feature or request duckdb Issue is related to duckdb backend spark-like ibis Issue is related to ibis backend labels Feb 1, 2026
@FBruzzesi FBruzzesi changed the title RFC, feat: Add SQLExpr.filter method RFC, feat: Add SQLExpr.filter method Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duckdb Issue is related to duckdb backend enhancement New feature or request ibis Issue is related to ibis backend spark-like

Projects

None yet

Development

Successfully merging this pull request may close these issues.

enh: Expr.filter for spark-like backends

1 participant