-
Notifications
You must be signed in to change notification settings - Fork 234
fix: use spark ParquetFilters #2100
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
base: main
Are you sure you want to change the base?
Conversation
Before Spark 3.4.3, `ParquetFilters` were added originally so we could shade Parquet in Comet. Since, `ParquetFilters` has updated In/NotIn pushdown which comet needs. Remove `ParquetFilters` from Comet. Also refactor comet native filter functionalities into CometNativeFilter.scala
CC: @andygrove @parthchandra (please feel free to cc others I might overlook) |
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.
Thanks @josh0yeh
} | ||
|
||
predicate match { | ||
case sources.IsNull(name) => |
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 used to have canMakeFilterOn
. Do we have equivalent checks?
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.
Looks like canMakeFilterOn
was a private method in ParquetFilters
and there is an identical implementation in Spark's ParquetFilters
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2100 +/- ##
============================================
+ Coverage 56.12% 58.87% +2.74%
- Complexity 976 1115 +139
============================================
Files 119 140 +21
Lines 11743 12623 +880
Branches 2251 2185 -66
============================================
+ Hits 6591 7432 +841
- Misses 4012 4075 +63
+ Partials 1140 1116 -24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@josh0yeh The PR is causing a regressions. Specifically, tests are failing because of -
Can you investigate ? |
Before Spark 3.4.3,
ParquetFilters
were added originally so we could shade Parquet in Comet. Since,ParquetFilters
has updated In/NotIn pushdown which comet needs. RemoveParquetFilters
from Comet. Also refactor comet native filter functionalities into CometNativeFilter.scala