-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidate where constraint predicate pushdown management #1300
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
3cbd865
to
cfc7833
Compare
4a07122
to
159e3e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We ❤️ consolidation!
Pushdown operations for where constraints were a bit scattered around due to the transition from build-time to optimize-time handling. This consolidates some of the mechanics. In particular, the where constraint pushdown state updates have been centralized into the PredicatePushdownState object, which allows for more streamlined updates at the callsites, and the where spec propagation has also been simplified to allow for all filter specs to be evaluated at once instead of splitting the evaluation between the WhereConstraintNode and input source node handlers.
159e3e6
to
46517d0
Compare
Pushdown operations for where constraints were a bit scattered
around due to the transition from build-time to optimize-time
handling. This consolidates some of the mechanics.
In particular, the where constraint pushdown state updates have
been centralized into the PredicatePushdownState object, which
allows for more streamlined updates at the callsites, and the
where spec propagation has also been simplified to allow for
all filter specs to be evaluated at once instead of splitting
the evaluation between the WhereConstraintNode and input source
node handlers.