Skip to content
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

Refactor compression filter handling #6329

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Refactor compression filter handling #6329

merged 1 commit into from
Nov 20, 2023

Conversation

svenklemm
Copy link
Member

@svenklemm svenklemm commented Nov 20, 2023

Change the code to have less direct references to FormData_hypertable_compression. The patch also renames SegmentFilter to BatchFilter to make the purpose clearer.

Disable-check: force-changelog-file

Copy link

@konskov, @mahipv: please review this pull request.

Powered by pull-review

Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (e3c4596) 65.46% compared to head (95d4d39) 59.00%.
Report is 1 commits behind head on main.

Files Patch % Lines
tsl/src/compression/compression.c 95.45% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6329      +/-   ##
==========================================
- Coverage   65.46%   59.00%   -6.46%     
==========================================
  Files         249      249              
  Lines       57996    50215    -7781     
  Branches    12919    12575     -344     
==========================================
- Hits        37966    29629    -8337     
+ Misses      18165    16084    -2081     
- Partials     1865     4502    +2637     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

* The columns will either be segmentby columns or the corresponding
* metadata columns of orderby columns.
*/
typedef struct CompressedFilter
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Maybe BatchFilter is even better?

Change the code to have less direct references to FormData_hypertable_compression.
The patch also renames SegmentFilter to BatchFilter to make the purpose clearer.
@svenklemm svenklemm merged commit 747f4e2 into main Nov 20, 2023
@svenklemm svenklemm deleted the comp_indirection branch November 20, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants