-
Notifications
You must be signed in to change notification settings - Fork 60
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
[fix] move parquet_stats_skipping
to predicates
module
#602
[fix] move parquet_stats_skipping
to predicates
module
#602
Conversation
not sure why there were so many formatting changes..? |
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.
all changes are just formatting - not sure why they are just now getting applied?
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.
all changes are just formatting - not sure why they are just now getting applied?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #602 +/- ##
==========================================
- Coverage 83.46% 83.45% -0.02%
==========================================
Files 74 74
Lines 16893 16877 -16
Branches 16893 16877 -16
==========================================
- Hits 14100 14084 -16
Misses 2135 2135
Partials 658 658 ☔ View full report in Codecov by Sentry. |
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!
parquet_stats_skipping
to expressions
moduleparquet_stats_skipping
to predicates
module
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.
LGMT
@@ -236,7 +234,7 @@ impl ParquetStatsProvider for NullCountTestFilter { | |||
fn test_eval_is_null() { | |||
let expressions = [ | |||
Expr::is_null(column_expr!("x")), | |||
!Expr::is_null(column_expr!("x")) | |||
!Expr::is_null(column_expr!("x")), |
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.
huh Im surprised formatting ended up adding this comma
actual 0.6.0 release occurring now, ran into a build issue last friday which was fixed in #602
Our builds are actually broken due to a dependency on
mod engine
inscan/mod.rs
(which only exists when one of the engine feature-flags is enabled. as soon as all are off, it fails to build). This fixes the issue by moving theparquet_stats_skipping
module out of engine code and intoexpressions
module. This was trivial since it actually doesn't depend on any engine code.We pull
parquet_stats_skipping
intoscan/mod.rs
in order toimpl ParquetStatsProvider for NoStats
. Now instead of having this rely on engine code, it's moved to thepredicates
module (which is always included)Note that I have a new test in CI that will catch this failure in the future: #601