Skip to content

Tag 04221_dictgetordefault_arrayjoin_80703 as no-parallel-replicas - #104778

Merged
Avogar merged 1 commit into
masterfrom
fix-04221-dictgetordefault-arrayjoin-parallel-replicas
May 13, 2026
Merged

Avogar merged 1 commit into
masterfrom
fix-04221-dictgetordefault-arrayjoin-parallel-replicas

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented May 13, 2026 •

Copy link
Copy Markdown
Member

The regression test for issue #80703 creates a local MergeTree-backed dictionary and uses dictGetOrDefault in a WHERE clause. Under ParallelReplicas, the query is dispatched to worker replicas that do not have the test database's dictionary registered, and the lookup fails with Dictionary (tags_80703) not found (BAD_ARGUMENTS):

DB::Exception: Dictionary (`tags_80703`) not found
... DB::ExternalDictionariesLoader::resolveDictionaryName(...) ...
: While executing Remote. (BAD_ARGUMENTS)

The test has been failing on master since it was added (commit 23d8c1f on 2026-05-10), causing red Stateless tests (amd_llvm_coverage, ParallelReplicas, s3 storage, parallel) on numerous unrelated PRs.

This matches the existing pattern used in other dictGet-based tests (for example 04202_inverse_dictionary_lookup_pruning_key_condition.sql) that already carry a no-parallel-replicas tag with the same rationale.

CI report:
https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=100365&sha=30f0bdefaf1e66139a2972083b1e90047608eb8a&name_0=PR&name_1=Stateless%20tests%20%28amd_llvm_coverage%2C%20ParallelReplicas%2C%20s3%20storage%2C%20parallel%29

Related PR: #100365

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

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

Tag 04221_dictgetordefault_arrayjoin_80703 as no-parallel-replicas to fix a CI failure on Stateless tests (..., ParallelReplicas, ...).

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Version info

  • Merged into: 26.5.1.607

The regression test for issue #80703 creates a local `MergeTree`-backed
dictionary and uses `dictGetOrDefault` in a `WHERE` clause. Under
ParallelReplicas, the query is dispatched to worker replicas that do not
have the test database's dictionary registered, and the lookup fails with
`Dictionary (tags_80703) not found` (`BAD_ARGUMENTS`).

This matches the existing pattern used in other `dictGet`-based tests
(for example `04202_inverse_dictionary_lookup_pruning_key_condition.sql`)
that already carry a `no-parallel-replicas` tag with the same rationale.

CI report:
https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=100365&sha=30f0bdefaf1e66139a2972083b1e90047608eb8a&name_0=PR&name_1=Stateless%20tests%20%28amd_llvm_coverage%2C%20ParallelReplicas%2C%20s3%20storage%2C%20parallel%29

Related PR: #100365

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented May 13, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [8ca9edf]

Summary: ✅


AI Review

Summary

This PR adds no-parallel-replicas to 04221_dictgetordefault_arrayjoin_80703 so the test no longer runs in a mode where local dictionaries are unavailable on worker replicas. The change is narrow, consistent with existing test tags, and I found no unresolved correctness, safety, or metadata issues.

Final Verdict

Status: ✅ Approve

@Avogar
Avogar added this pull request to the merge queue May 13, 2026
Merged via the queue into master with commit 7909c2f May 13, 2026
327 of 328 checks passed
@Avogar
Avogar deleted the fix-04221-dictgetordefault-arrayjoin-parallel-replicas branch May 13, 2026 11:10
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-ci 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.

3 participants