Skip to content

Conversation

@korowa
Copy link
Contributor

@korowa korowa commented Mar 6, 2024

Which issue does this PR close?

Closes #6744.

Rationale for this change

The fix for the issue itself was introduced in #7529, this PR just adds more high-level tests to ensure that further optimizer/physical plan changes won't cause this regression, as DF seems to lack this kind of tests (at least I wasn't able to found multi-table join tests, except for couple of them in joins.slt)

What changes are included in this PR?

Multi-table join tests added to join.slt

Are these changes tested?

Are there any user-facing changes?

No

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Mar 6, 2024
@korowa korowa force-pushed the multiple_tables_join_tests branch from 748ff58 to 447b2d0 Compare March 7, 2024 19:07
@jayzhan211
Copy link
Contributor

what is the difference between join.slt and joins.slt

@alamb
Copy link
Contributor

alamb commented Mar 9, 2024

what is the difference between join.slt and joins.slt

I am not sure -- it would be nice to consolidate them (or make it clearer when to put tests where)

@alamb alamb merged commit afd0f90 into apache:main Mar 9, 2024
@alamb
Copy link
Contributor

alamb commented Mar 9, 2024

Thanks @korowa and @jayzhan211 for the review

@korowa
Copy link
Contributor Author

korowa commented Mar 9, 2024

what is the difference between join.slt and joins.slt

According to history the first one is the "original" sqllogictests for joins, and the second one is the result of porting integration tests to sqllogictests format, so consolidation may be reasonable in this case indeed.

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.

Subsequent JOIN s don't match to correct row

3 participants