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 additional coalesce tests #10334

Merged
merged 1 commit into from
May 2, 2024

Conversation

alamb
Copy link
Contributor

@alamb alamb commented May 1, 2024

Which issue does this PR close?

Part of #10261

Rationale for this change

@jayzhan211 's great PR here #10268 added new tests and potentially changed behavior of coalesce with respect to dictionaries, revealing a test gap

What changes are included in this PR?

Port the great tests that @jayzhan211 made in #10268. Merging these before #10268 will both increase test coverage, decrease the size of the diff in #10268 and make it easier to understand what behavior has changed.

Are these changes tested?

All tests

Are there any user-facing changes?

No

@alamb alamb added the development-process Related to development process of DataFusion label May 1, 2024
@github-actions github-actions bot added sqllogictest SQL Logic Tests (.slt) and removed development-process Related to development process of DataFusion labels May 1, 2024
@@ -0,0 +1,374 @@
# Licensed to the Apache Software Foundation (ASF) under one
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Given the size of these tests I opted to put them in their own file rather than function.slt

@alamb alamb changed the title Minor: Add coalesce tests Minor: Add additional coalesce tests May 1, 2024
@alamb alamb marked this pull request as ready for review May 1, 2024 20:00
Copy link
Contributor

@jayzhan211 jayzhan211 left a comment

Choose a reason for hiding this comment

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

Thanks @alamb

@jayzhan211 jayzhan211 merged commit db3e8ad into apache:main May 2, 2024
24 checks passed
@alamb alamb deleted the alamb/coalsce_tests branch May 3, 2024 12:17
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.

2 participants