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

Don't look up entire Chunk struct for compressed chunks #5970

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

akuzm
Copy link
Member

@akuzm akuzm commented Aug 16, 2023

It's not needed. Also add them to baserel cache.

Disable-check: force-changelog-file

@github-actions
Copy link

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

Powered by pull-review

@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Merging #5970 (f98eaf0) into main (373c556) will increase coverage by 7.48%.
The diff coverage is 94.11%.

❗ Current head f98eaf0 differs from pull request most recent head 00b0e83. Consider uploading reports for the commit 00b0e83 to get more accurate results

@@            Coverage Diff             @@
##             main    #5970      +/-   ##
==========================================
+ Coverage   79.52%   87.00%   +7.48%     
==========================================
  Files         243      243              
  Lines       49266    55974    +6708     
  Branches    12346    12385      +39     
==========================================
+ Hits        39177    48702    +9525     
- Misses       4225     4910     +685     
+ Partials     5864     2362    -3502     
Files Changed Coverage Δ
src/chunk.h 100.00% <ø> (ø)
src/planner/planner.h 85.71% <ø> (+28.57%) ⬆️
src/planner/planner.c 90.73% <75.00%> (+6.89%) ⬆️
src/chunk.c 89.82% <92.30%> (+6.32%) ⬆️
src/planner/expand_hypertable.c 89.01% <100.00%> (+7.65%) ⬆️
tsl/src/fdw/modify_exec.c 82.08% <100.00%> (+12.44%) ⬆️
tsl/src/fdw/modify_plan.c 87.50% <100.00%> (+9.37%) ⬆️
tsl/src/nodes/decompress_chunk/decompress_chunk.c 89.17% <100.00%> (+6.27%) ⬆️

... and 216 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -72,7 +73,8 @@ static DecompressChunkPath *decompress_chunk_path_create(PlannerInfo *root, Comp
int parallel_workers,
Path *compressed_path);

static void decompress_chunk_add_plannerinfo(PlannerInfo *root, CompressionInfo *info, Chunk *chunk,
static void decompress_chunk_add_plannerinfo(PlannerInfo *root, Hypertable *ht,
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems the new Hypertable *ht parameter is not used in this function.

Copy link
Contributor

@jnidzwetzki jnidzwetzki left a comment

Choose a reason for hiding this comment

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

Added a minor comment, rest looks good to me.

It's not needed. Also add them to baserel cache.
@akuzm akuzm enabled auto-merge (rebase) August 23, 2023 10:47
@akuzm akuzm merged commit 3373d43 into timescale:main Aug 23, 2023
34 of 35 checks passed
@akuzm akuzm deleted the baserel-compressed branch August 23, 2023 11:07
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.

None yet

3 participants