Repository navigation
Do not run 04952_projection_argumentless_function_json in a Replicated database - #125377
alexey-milovidov merged 1 commit into
Conversation
…d database In a `Replicated` database the `CREATE TABLE` sent with `--dialect clickhouse_json` is enqueued as a DDL log entry whose query is SQL text, but the entry is executed with the session's `dialect = 'clickhouse_json'`, so the DDL worker hands `/* ddl_entry=... */ CREATE ...` to the JSON AST parser and the test fails with `Failed to parse JSON for AST deserialization: ... unexpected byte, '/'` (issue ClickHouse#123323). It fails on every master run of the DBReplicated coverage lane since ClickHouse#125180 stopped hiding it; random-settings lanes mask it. Tag the test `no-replicated-database` with the same reason line as `05233_ast_json_select_argumentless_function_dialect`, as was done for `05142_http_dictionary_hide_header_values_json`. The tags are to be removed together when ClickHouse#123323 is fixed. Related: ClickHouse#123323 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 0 findings) plus my own cold review of the diff (0 findings). No findings to adjudicate: the diff is the two-line Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-8:20261012-095300 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-40:20261012-093900 |
|
Workflow [PR], commit [6004d24] Summary: ✅ AI ReviewSummaryThis PR disables Final Verdict✅ No blockers or majors. The change is narrowly scoped to the known |
Related: #123323
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
04952_projection_argumentless_function_jsonfails on every master run ofStateless tests (amd_llvm_coverage, s3 storage, DBReplicated, parallel, 3/3)since 2026-10-11 (report). In aReplicateddatabase theCREATE TABLEit sends with--dialect clickhouse_jsonbecomes a DDL entry that is executed with the sessiondialect, so its SQL text goes to the JSON AST parser:Failed to parse JSON for AST deserialization ... unexpected byte, '/'(#123323).This tags the test
no-replicated-databasewith the same reason line as05233_ast_json_select_argumentless_function_dialect, as was done for05142_http_dictionary_hide_header_values_json. The tags go away with the fix of #123323.Validated on a one-node DBReplicated server (master
371b23a4): the test failed 5/5 with the CI error before the tag and is skipped after it; it passes 50/50 with random settings in the default mode. The other 40 untaggedclickhouse_jsontests pass in DBReplicated mode, and none of them runs a DDL entry with this dialect.Workflow [PR]
Sync PR [sync-upstream/pr/125377]
Version info
26.10.1.2223-master(included in26.10and later)