-
Notifications
You must be signed in to change notification settings - Fork 83
refactor: Rename predicates mod to kernel_predicates #822
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #822 +/- ##
==========================================
+ Coverage 85.01% 85.03% +0.02%
==========================================
Files 84 84
Lines 20656 20657 +1
Branches 20656 20657 +1
==========================================
+ Hits 17561 17566 +5
+ Misses 2228 2226 -2
+ Partials 867 865 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
LGTM!
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.
LGTM one nit/idea!
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.
nit: might help to have some module-level documentation to help guide readers on what a kernel_predicate encompasses?
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.
Tracked as a follow-up: #828
What changes are proposed in this pull request?
The
predicates
module has a confusing name because it sits alongside theexpressions
module but does not actually define predicates (= boolean-valued expressions) at all. Instead, it contains kernel's implementation of predicate evaluation, used for e.g. data skipping and partition pruning.Rename the module to
kernel_predicates
and rename corresponding classes likePredicateEvaluator
toKernelPredicateEvaluator
, to make their purpose more clear. This also helps clear the way for us to split out predicates as a separate concept from normal expressions, see #765.How was this change tested?
Module and class renames only. Compilation suffices.