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

[minor] add missing slt tests for count(partitioned,aggregated, aggregated cube) #13790

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

buraksenn
Copy link
Contributor

@buraksenn buraksenn commented Dec 15, 2024

Which issue does this PR close?

Rationale for this change

I saw TODO's in the codebase that these did not have any slt tests

What changes are included in this PR?

Several slt test cases for count(partitioned,aggregated, aggregated cube)

Are these changes tested?

They are only slt tests

Are there any user-facing changes?

No

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Dec 15, 2024
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @buraksenn 🙏

You mention a TODO in the PR description. Should we also remove the TPDP?

@buraksenn
Copy link
Contributor Author

Thank you @buraksenn 🙏

You mention a TODO in the PR description. Should we also remove the TPDP?

Thanks @alamb. I've already deleted them they are in the slt file actually

@@ -2179,11 +2179,62 @@ SELECT COUNT(c1), COUNT(c2) FROM test
----
4 4

# TODO: count_partitioned
Copy link
Contributor

Choose a reason for hiding this comment

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

Got it -- it is this 👍

@berkaysynnada
Copy link
Contributor

berkaysynnada commented Dec 16, 2024

LGTM, double-checked with postgre

@berkaysynnada berkaysynnada merged commit 5c29399 into apache:main Dec 16, 2024
26 checks passed
@berkaysynnada berkaysynnada deleted the count-partitioned-slt-tests branch December 16, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants