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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
apache
/
datafusion
Public
Notifications
You must be signed in to change notification settings
Fork
2.4k
Star
9.3k
Code
Issues
1.8k
Pull requests
371
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Adaptive (runtime, stats-based) conjunct reordering for FilterExec
- #22698
#22698
Open
adriangb
wants to merge 27 commits into
apache:main
apache/datafusion:main
from
pydantic:lift-selectivity-stats
pydantic/datafusion:lift-selectivity-stats
Copy head branch name to clipboard
Conversation
Commits
27
(27)
Checks
Files changed
Open
Adaptive (runtime, stats-based) conjunct reordering for FilterExec
#22698
adriangb
wants to merge 27 commits into
apache:main
apache/datafusion:main
from
pydantic:lift-selectivity-stats
pydantic/datafusion:lift-selectivity-stats
Copy head branch name to clipboard
Commits
Commits on Sep 16, 2026
feat(physical-plan): adaptive conjunct reordering in FilterExec (compact-once core)
Show description for d69afa4
adriangb
and
claude
committed
d69afa4
View commit details
Copy full SHA for d69afa4
Browse repository at this point
feat(physical-plan): pool adaptive measurements across partition streams
Show description for ffe07f4
adriangb
and
claude
committed
ffe07f4
View commit details
Copy full SHA for ffe07f4
Browse repository at this point
feat(physical-plan): use compact-once only in service of a reorder
Show description for e2055c4
adriangb
and
claude
committed
e2055c4
View commit details
Copy full SHA for e2055c4
Browse repository at this point
fix(physical-plan): address review feedback on adaptive filter
Show description for 8beea6c
adriangb
and
claude
committed
8beea6c
View commit details
Copy full SHA for 8beea6c
Browse repository at this point
fix(physical-plan): reset adaptive filter state on re-execution
Show description for fdbbf14
adriangb
and
claude
committed
fdbbf14
View commit details
Copy full SHA for fdbbf14
Browse repository at this point
fix(physical-plan): harden adaptive filter edge cases
Show description for b99a92a
adriangb
and
claude
committed
b99a92a
View commit details
Copy full SHA for b99a92a
Browse repository at this point
test(sqllogictest): drive adaptive filter across the settle boundary
Show description for 66e8900
adriangb
and
claude
committed
66e8900
View commit details
Copy full SHA for 66e8900
Browse repository at this point
docs: tighten adaptive filter behavior claims
Show description for 1f0a68e
adriangb
and
claude
committed
1f0a68e
View commit details
Copy full SHA for 1f0a68e
Browse repository at this point
refactor(physical-plan): FilterExec owns the enable gate; trace per-batch strategy
Show description for c9c7c36
adriangb
and
claude
committed
c9c7c36
View commit details
Copy full SHA for c9c7c36
Browse repository at this point
refactor(physical-plan): drop redundant adaptive filter epoch
Show description for 1bf6b20
adriangb
and
claude
committed
1bf6b20
View commit details
Copy full SHA for 1bf6b20
Browse repository at this point
feat(physical-plan): report adaptive filter reordering in FilterExec metrics
Show description for f76986b
adriangb
and
claude
committed
f76986b
View commit details
Copy full SHA for f76986b
Browse repository at this point
test(physical-plan): deterministic adaptive filter tests and flag-on FilterExec coverage
Show description for c94e22d
adriangb
and
claude
committed
c94e22d
View commit details
Copy full SHA for c94e22d
Browse repository at this point
docs(physical-plan): tighten adaptive filter documentation
Show description for 113b05c
adriangb
and
claude
committed
113b05c
View commit details
Copy full SHA for 113b05c
Browse repository at this point
refactor(physical-plan): evaluate the adopted order as a right-nested AND
Show description for 2b04353
adriangb
and
claude
committed
2b04353
View commit details
Copy full SHA for 2b04353
Browse repository at this point
refactor(physical-plan): measure conjuncts through BinaryExpr instead of a private evaluation loop
Show description for eeecd9d
adriangb
and
claude
committed
eeecd9d
View commit details
Copy full SHA for eeecd9d
Browse repository at this point
refactor(physical-plan): keep FilterExecMetrics::new signature; add with_adaptive_reorder_metrics
Show description for 8dac5ee
adriangb
and
claude
committed
8dac5ee
View commit details
Copy full SHA for 8dac5ee
Browse repository at this point
refactor(physical-plan): rank conjuncts by Velox's discards-per-time key
Show description for 19c8120
adriangb
and
claude
committed
19c8120
View commit details
Copy full SHA for 19c8120
Browse repository at this point
perf(physical-plan): right-nest the kept written order; pool without a pre-evaluation lock
Show description for 15a5be3
adriangb
and
claude
committed
15a5be3
View commit details
Copy full SHA for 15a5be3
Browse repository at this point
refactor(physical-plan): trim adaptive filter to its essentials
Show description for 9dbdffe
adriangb
and
claude
committed
9dbdffe
View commit details
Copy full SHA for 9dbdffe
Browse repository at this point
docs(physical-plan): drop stale order wording and fused test name
Show description for 784e085
adriangb
and
claude
committed
784e085
View commit details
Copy full SHA for 784e085
Browse repository at this point
docs(physical-plan): cut comment bloat in adaptive filter
Show description for 1e4c62c
adriangb
and
claude
committed
1e4c62c
View commit details
Copy full SHA for 1e4c62c
Browse repository at this point
refactor(physical-expr): share the AND pre-selection rule with its callers
Show description for 571a388
adriangb
and
claude
committed
571a388
View commit details
Copy full SHA for 571a388
Browse repository at this point
fix(physical-plan): keep the written AND tree, and cost it as AND runs it
Show description for c54d917
adriangb
and
claude
committed
c54d917
View commit details
Copy full SHA for c54d917
Browse repository at this point
test(physical-plan): pin the 30% downstream weight directly
Show description for df919f9
adriangb
and
claude
committed
df919f9
View commit details
Copy full SHA for df919f9
Browse repository at this point
fix(physical-expr): do not link private check_short_circuit from public docs
Show description for 0c0642e
adriangb
and
claude
committed
0c0642e
View commit details
Copy full SHA for 0c0642e
Browse repository at this point
refactor(physical-expr): hide the shared AND pre-selection rule from public docs
Show description for 8385e54
adriangb
and
claude
committed
8385e54
View commit details
Copy full SHA for 8385e54
Browse repository at this point
docs(physical-plan): describe the adaptive pool as node state, not per-execution
Show description for 8f5dcd1
adriangb
and
claude
committed
8f5dcd1
View commit details
Copy full SHA for 8f5dcd1
Browse repository at this point
You can’t perform that action at this time.