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

Add experimental integration test flag for pushdown sorting #2595

Merged
merged 9 commits into from
May 11, 2023

Conversation

noisersup
Copy link
Member

@noisersup noisersup commented May 9, 2023

Description

Tested locally with and without the flag, ORDER BY is appended as expected.
Added 2 test cases that satisfy pushdown requirements.

Closes #2438.

Readiness checklist

  • I added/updated unit tests.
  • I added/updated integration/compatibility tests.
  • 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), Labels, Project and project's Sprint fields.
  • I marked all done items in this checklist.

@noisersup noisersup marked this pull request as ready for review May 9, 2023 14:45
@noisersup noisersup requested a review from a team as a code owner May 9, 2023 14:45
@noisersup noisersup requested review from AlekSi, w84thesun, a team, rumyantseva and chilagrow May 9, 2023 14:45
@noisersup noisersup added the code/chore Code maintenance improvements label May 9, 2023
@noisersup noisersup enabled auto-merge (squash) May 9, 2023 14:46
integration/setup/setup.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented May 9, 2023

Codecov Report

Merging #2595 (4decf7e) into main (09298ac) will decrease coverage by 38.50%.
The diff coverage is 0.00%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #2595       +/-   ##
===========================================
- Coverage   65.70%   27.20%   -38.50%     
===========================================
  Files         414      414               
  Lines       20365    20366        +1     
===========================================
- Hits        13380     5540     -7840     
- Misses       6032    14248     +8216     
+ Partials      953      578      -375     
Impacted Files Coverage Δ
integration/setup/listener.go 0.00% <0.00%> (-68.00%) ⬇️
integration/setup/setup.go 62.08% <ø> (-1.10%) ⬇️

... and 134 files with indirect coverage changes

Flag Coverage Δ
integration 5.44% <0.00%> (-53.38%) ⬇️
mongodb 5.44% <0.00%> (-0.01%) ⬇️
pg ?
unit 25.56% <ø> (ø)

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

@noisersup noisersup requested review from AlekSi May 9, 2023 14:56
@AlekSi AlekSi added this to the Next milestone May 9, 2023
AlekSi
AlekSi previously approved these changes May 9, 2023
rumyantseva
rumyantseva previously approved these changes May 9, 2023
Copy link
Contributor

@rumyantseva rumyantseva left a comment

Choose a reason for hiding this comment

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

LGTM

w84thesun
w84thesun previously approved these changes May 9, 2023
Copy link
Contributor

@w84thesun w84thesun left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@chilagrow chilagrow left a comment

Choose a reason for hiding this comment

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

Just comment about newly added test 🤗

integration/query_compat_test.go Show resolved Hide resolved
@noisersup noisersup dismissed stale reviews from w84thesun and AlekSi via 15d70b2 May 10, 2023 09:36
Copy link
Contributor

@w84thesun w84thesun left a comment

Choose a reason for hiding this comment

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

LGTM!

@noisersup noisersup merged commit 136df12 into FerretDB:main May 11, 2023
@noisersup noisersup deleted the pushdown-sort-integration-2438 branch May 11, 2023 00:42
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.

Pushdown simplest sorting with ORDER BY
5 participants