Skip to content

Clean up some tests#1019

Merged
sgrif merged 1 commit into
mainfrom
sg-cleanup
May 28, 2026
Merged

Clean up some tests#1019
sgrif merged 1 commit into
mainfrom
sg-cleanup

Conversation

@sgrif
Copy link
Copy Markdown
Contributor

@sgrif sgrif commented May 28, 2026

This removes a bunch of boilerplate, and also isolates the call to Aggregate::parse which I'm planning on changing the signature of in a way that would otherwise cause a lot of churn.

The &str -> SelectStmt helper is duplicated across multiple files. I plan to extract it at some point but in the short term I want to keep the changes contained.

Copy link
Copy Markdown
Collaborator

@levkk levkk left a comment

Choose a reason for hiding this comment

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

I believe!

@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2026

Codecov Report

❌ Patch coverage is 99.30070% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pgdog/src/backend/pool/connection/aggregate.rs 96.42% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

This removes a bunch of boilerplate, and also isolates the call to
`Aggregate::parse` which I'm planning on changing the signature of in a
way that would otherwise cause a lot of churn.

The &str -> SelectStmt helper is duplicated across multiple files. I
plan to extract it at some point but in the short term I want to keep
the changes contained.
@sgrif sgrif merged commit 3ffcbb8 into main May 28, 2026
23 of 24 checks passed
@sgrif sgrif deleted the sg-cleanup branch May 28, 2026 18:34
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.

2 participants