-
Notifications
You must be signed in to change notification settings - Fork 901
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
Remove superfluous checks in partialize_agg #6327
Conversation
@mkindahl, @mahipv: please review this pull request.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6327 +/- ##
==========================================
- Coverage 65.44% 65.39% -0.05%
==========================================
Files 249 249
Lines 57984 57916 -68
Branches 12918 12891 -27
==========================================
- Hits 37946 37876 -70
- Misses 18198 18201 +3
+ Partials 1840 1839 -1 ☔ View full report in Codecov by Sentry. |
@svenklemm Could you elaborate what kind of refactoring this function is currently preventing? It is correct, the function never returns false currently. However, the function is part of the initiative to make the vectoized |
Any code that references FormData_hypertable_compression needs to be adjusted cause the corresponding table is gonna get removed. The structure of the new settings will also be very different (no more positional indexes) so any place that references it now usually needs quite a few changes. |
If we depend on this providing the correct answer about used algorithm the current implementation is insufficient. To get a definitive answer about algorithms used you have to check the batch header as the compressor will deviate from whatever is stored in Hypertable_compression. |
Remove checks that will always return true in current implementation to make refactoring easier. Aggref->args will always be list of TargetEntry, and the bulk_decompression check will always return true as well.
Remove checks that will always return true in current implementation to make refactoring easier. Aggref->args will always be list of TargetEntry, and the bulk_decompression check will always return true as well.
Disable-check: force-changelog-file