Skip to content

Conversation

@xiaohuanlin
Copy link
Contributor

Fix #88059 . When COLUMNS() transformer resolves to empty list, array join expressions become empty, causing "No arrays to join" error at execution stage. Add validation after resolving COLUMNS to ensure at least one expression remains.

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Fix logical error when ARRAY JOIN COLUMNS() matches no columns in new analyzer.

When COLUMNS() transformer resolves to empty list, array join expressions become empty, causing "No arrays to join" error at execution stage. Add validation after resolving COLUMNS to ensure at least one expression remains.
@alexey-milovidov alexey-milovidov self-assigned this Oct 4, 2025
@alexey-milovidov alexey-milovidov added the can be tested Allows running workflows for external contributors label Oct 4, 2025
@clickhouse-gh
Copy link

clickhouse-gh bot commented Oct 4, 2025

Workflow [PR], commit [8cd6e41]

Summary:

job_name test_name status info comment
Stress test (amd_tsan) failure
Server died FAIL
Hung check failed, possible deadlock found (see hung_check.log) FAIL
Killed by signal (in clickhouse-server.log) FAIL
Fatal message in clickhouse-server.log (see fatal_messages.txt) FAIL
Killed by signal (output files) FAIL
Found signal in gdb.log FAIL

@clickhouse-gh clickhouse-gh bot added the pr-bugfix Pull request with bugfix, not backported by default label Oct 4, 2025
@alexey-milovidov alexey-milovidov merged commit 940df8a into ClickHouse:master Oct 16, 2025
120 of 123 checks passed
@robot-ch-test-poll1 robot-ch-test-poll1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors pr-bugfix Pull request with bugfix, not backported by default 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: No arrays to join

4 participants