Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
apache
/
datafusion
Public
Notifications
You must be signed in to change notification settings
Fork
2.5k
Star
9.4k
Code
Issues
1.9k
Pull requests
458
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
feat: let the Parquet scan skip optional filters that are not worth their cost
- #25682
#25682
Draft
adriangb
wants to merge 16 commits into
apache:main
apache/datafusion:main
from
pydantic:optional-filter-parquet
pydantic/datafusion:optional-filter-parquet
Copy head branch name to clipboard
Conversation
Commits
16
(16)
Checks
Files changed
Draft
feat: let the Parquet scan skip optional filters that are not worth their cost
#25682
adriangb
wants to merge 16 commits into
apache:main
apache/datafusion:main
from
pydantic:optional-filter-parquet
pydantic/datafusion:optional-filter-parquet
Copy head branch name to clipboard
Commits
Commits on Sep 24, 2026
feat: add OptionalFilterPhysicalExpr to mark filters not needed for correctness
Show description for c839c76
adriangb
and
claude
committed
c839c76
View commit details
Copy full SHA for c839c76
Browse repository at this point
feat: add filter_stats (FilterCost, Clock) for filter measurements
Show description for 0337936
adriangb
and
claude
committed
0337936
View commit details
Copy full SHA for 0337936
Browse repository at this point
feat: add OptionalFilterGate to pause optional filters that cost more than they save
Show description for 62a11a7
adriangb
and
claude
committed
62a11a7
View commit details
Copy full SHA for 62a11a7
Browse repository at this point
Commits on Sep 25, 2026
feat(gate): add a measured overhead for each evaluated row to the cost
Show description for 3b8994a
adriangb
and
claude
committed
3b8994a
View commit details
Copy full SHA for 3b8994a
Browse repository at this point
feat(gate): share pauses between the gates of one plan site
Show description for 9755fd1
adriangb
and
claude
committed
9755fd1
View commit details
Copy full SHA for 9755fd1
Browse repository at this point
feat(gate): decide only on windows of at least MIN_OBSERVED_ROWS rows
Show description for 3ccb85e
adriangb
and
claude
committed
3ccb85e
View commit details
Copy full SHA for 3ccb85e
Browse repository at this point
feat(gate): use the measured work of the filter producer as the saving
Show description for 0c024cc
adriangb
and
claude
committed
0c024cc
View commit details
Copy full SHA for 0c024cc
Browse repository at this point
feat: add optional_filter_mode config
Show description for b8fb779
adriangb
and
claude
committed
b8fb779
View commit details
Copy full SHA for b8fb779
Browse repository at this point
feat: let the Parquet scan skip optional filters that are not worth their cost
Show description for 5becb4e
adriangb
and
claude
committed
5becb4e
View commit details
Copy full SHA for 5becb4e
Browse repository at this point
Commits on Sep 26, 2026
fix(parquet): count only skippable rows in the saving of an optional row filter
Show description for 9fdef55
adriangb
and
claude
committed
9fdef55
View commit details
Copy full SHA for 9fdef55
Browse repository at this point
feat(parquet): share the pauses of optional filter gates in a scan
Show description for ee93043
adriangb
and
claude
committed
ee93043
View commit details
Copy full SHA for ee93043
Browse repository at this point
test(parquet): gate windows of MIN_OBSERVED_ROWS rows in row filter tests
Show description for 7caf968
adriangb
and
claude
committed
7caf968
View commit details
Copy full SHA for 7caf968
Browse repository at this point
feat(parquet): order row filter predicates by measured rows removed per nanosecond
Show description for 9f36c9d
adriangb
and
claude
committed
9f36c9d
View commit details
Copy full SHA for 9f36c9d
Browse repository at this point
test(parquet): size the optional filter integration tests for gate windows
Show description for f68a421
adriangb
and
claude
committed
f68a421
View commit details
Copy full SHA for f68a421
Browse repository at this point
Commits on Sep 28, 2026
Merge apache/main into optional-filter-parquet
Show description for 214446d
adriangb
and
claude
committed
214446d
View commit details
Copy full SHA for 214446d
Browse repository at this point
fix(parquet): no scan equivalences from optional conjuncts
Show description for 38cf3e7
adriangb
and
claude
committed
38cf3e7
View commit details
Copy full SHA for 38cf3e7
Browse repository at this point
You can’t perform that action at this time.