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 aggregation accumulators #3203

Merged
merged 17 commits into from
Aug 25, 2023

Conversation

noisersup
Copy link
Member

@noisersup noisersup commented Aug 16, 2023

Description

Closes #3129.

Readiness checklist

  • I added/updated unit tests (and they pass).
  • I added/updated integration/compatibility tests (and they pass).
  • I added/updated comments and checked rendering.
  • I made spot refactorings.
  • I updated user documentation.
  • I ran task all, and it passed.
  • I ensured that PR title is good enough for the changelog.
  • (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
  • I marked all done items in this checklist.

@noisersup noisersup self-assigned this Aug 16, 2023
@mergify
Copy link
Contributor

mergify bot commented Aug 18, 2023

@noisersup this pull request has merge conflicts.

@mergify mergify bot added the conflict PRs that have merge conflicts label Aug 18, 2023
@mergify mergify bot removed the conflict PRs that have merge conflicts label Aug 22, 2023
@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Merging #3203 (758d93f) into main (2f55169) will decrease coverage by 0.05%.
Report is 5 commits behind head on main.
The diff coverage is 83.05%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3203      +/-   ##
==========================================
- Coverage   75.44%   75.40%   -0.05%     
==========================================
  Files         396      397       +1     
  Lines       22288    22327      +39     
==========================================
+ Hits        16816    16836      +20     
- Misses       4501     4519      +18     
- Partials      971      972       +1     
Files Changed Coverage Δ
...ommon/aggregations/operators/accumulators/count.go 73.33% <36.36%> (-22.13%) ⬇️
.../common/aggregations/operators/accumulators/sum.go 84.00% <89.28%> (-0.62%) ⬇️
...ggregations/operators/accumulators/accumulators.go 85.10% <100.00%> (+10.10%) ⬆️

... and 29 files with indirect coverage changes

Flag Coverage Δ
hana ?
integration 71.81% <83.05%> (-0.04%) ⬇️
mongodb 5.26% <0.00%> (-0.02%) ⬇️
pg 64.87% <83.05%> (-0.04%) ⬇️
shard-1 56.94% <57.62%> (+0.27%) ⬆️
shard-2 56.27% <81.35%> (+0.96%) ⬆️
shard-3 54.99% <18.64%> (-1.03%) ⬇️
sqlite 47.11% <0.00%> (-0.09%) ⬇️
unit 24.57% <0.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@noisersup noisersup marked this pull request as ready for review August 22, 2023 17:04
@noisersup noisersup requested a review from a team as a code owner August 22, 2023 17:04
@noisersup noisersup requested review from AlekSi, rumyantseva, a team and chilagrow August 22, 2023 17:04
@noisersup noisersup added the code/chore Code maintenance improvements label Aug 22, 2023
@AlekSi AlekSi added this to the Next milestone Aug 23, 2023
@noisersup noisersup enabled auto-merge (squash) August 25, 2023 01:05
@noisersup noisersup requested a review from AlekSi August 25, 2023 01:05
@AlekSi AlekSi disabled auto-merge August 25, 2023 10:39
@AlekSi AlekSi merged commit 13240bf into FerretDB:main Aug 25, 2023
yonarw pushed a commit to yonarw/FerretDB that referenced this pull request Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code/chore Code maintenance improvements
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Refactor aggregation operators and accumulators
2 participants