-
Notifications
You must be signed in to change notification settings - Fork 896
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
Add index creation on orderby columns #7436
base: main
Are you sure you want to change the base?
Conversation
@mkindahl, @akuzm: please review this pull request.
|
Lets make sure we don't run segmentwise recompression on chunks without segmentby because currently its suboptimal vs doing a full recompress. |
cf5d71c
to
b68e994
Compare
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.
Lets disable segmentwise recompression for these chunks for now, until we can optimize it in the near future.
b68e994
to
36f796f
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7436 +/- ##
==========================================
+ Coverage 80.06% 82.28% +2.21%
==========================================
Files 190 238 +48
Lines 37181 43725 +6544
Branches 9450 10971 +1521
==========================================
+ Hits 29770 35978 +6208
- Misses 2997 3405 +408
+ Partials 4414 4342 -72 ☔ View full report in Codecov by Sentry. |
12331c5
to
36d03d6
Compare
Previously, for chunks without a segmentby column specified in the compression settings, no indexes were created. This change allows indexes to be created on orderby columns only in this scenario. Since there is no segmentby in the compression settings for these chunks we also disable segmentwise recompression for them as it is more optimal to do a full recompression in this case.
36d03d6
to
0e14a8a
Compare
Previously, for chunks without a segmentby column specified in the compression settings, no indexes were created. This change allows indexes to be created on orderby columns only in this scenario.