Skip to content

PR: test to close #81144#97708

Merged
PedroTadim merged 3 commits intomasterfrom
pr-test-expected-join
Feb 25, 2026
Merged

PR: test to close #81144#97708
PedroTadim merged 3 commits intomasterfrom
pr-test-expected-join

Conversation

@devcrafter
Copy link
Copy Markdown
Member

@devcrafter devcrafter commented Feb 23, 2026

Closes #81144. Most probably was fixed by #97316

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Feb 23, 2026

Workflow [PR], commit [16e06c4]

Summary:

@clickhouse-gh clickhouse-gh bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Feb 23, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a regression test for issue #81144, which caused a logical error ("Expected JOIN table expression to be table, table function, query or union node") when using parallel replicas with RIGHT JOIN chains. The issue was fixed in PR #97316.

Changes:

  • Added test file 03977_pr_expected_join.sql with two test cases covering different RIGHT JOIN chain scenarios with parallel replicas
  • Added reference file 03977_pr_expected_join.reference with expected output

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tests/queries/0_stateless/03977_pr_expected_join.sql Regression test covering RIGHT JOIN chains with parallel replicas enabled, using both VIEW joins and remote() function joins
tests/queries/0_stateless/03977_pr_expected_join.reference Expected output showing both queries return 1

Copy link
Copy Markdown
Member

@PedroTadim PedroTadim left a comment

Choose a reason for hiding this comment

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

LGTM!

@PedroTadim PedroTadim added this pull request to the merge queue Feb 25, 2026
Merged via the queue into master with commit a67d60d Feb 25, 2026
152 checks passed
@PedroTadim PedroTadim deleted the pr-test-expected-join branch February 25, 2026 10:56
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logical error: Expected JOIN table expression to be table, table function, query or union node

4 participants