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

WIP: Account for constant equivalence properties in union, tests #12562

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Sep 20, 2024

Draft

Which issue does this PR close?

Closes #12446
Closes #12414

Rationale for this change

Fixes a bug: #12446

What changes are included in this PR?

TBD
(I hope to break the comments / test refactor out into separate PRs for easier review)

Are these changes tested?

Yes

Are there any user-facing changes?

Fixed bug

@github-actions github-actions bot added physical-expr Physical Expressions sqllogictest SQL Logic Tests (.slt) labels Sep 20, 2024
let test_cases = vec![
// --------- TEST CASE 1 ----------
(
UnionEquivalenceTest::new(&schema)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wanted more flexibility with the tests, and I am glad I did this as I hadn't seen the existing tests for constants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physical-expr Physical Expressions sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SanityChecker rejects certain valid UNION plans
1 participant