Repository navigation
Commit b392416
committed
Fix four more PR-caused test failures from the inline-insert-data randomization
Second wave of PR-caused failures caught by CI on the previous push (different
randomized seed surfaced four more tests dependent on the legacy
client-converts-inline-data path). PedroTadim flagged these on
#104640.
* `04029_json_columns_input_format` — change `-- { clientError 117 }` to
`-- { error 117 }` (4 occurrences). Same pattern as the `04027` fix in the
prior commit: both the legacy client-parsed path and the inline server-parsed
path correctly detect the ambiguous JSON field; only the error attribution
side changes. Accept the error from either side.
* `01286_constraints_on_default` — pin via `Random settings limits`. The test
expects that an `INSERT ... VALUES` raising `VIOLATED_CONSTRAINT` client-side
terminates the connection (so the next `CREATE TEMPORARY TABLE` succeeds);
the inline server-parsed path keeps the connection alive, so the second
`CREATE TEMPORARY TABLE` fails with `TABLE_ALREADY_EXISTS`. Pin the legacy
path; the connection-lifetime delta is an independent follow-up.
* `01501_clickhouse_client_INSERT_exception` — pin via `Random settings limits`.
The test `grep`s the client-emitted prefix `data for INSERT was parsed from
query` in stderr. With `send_table_structure_on_insert_with_inline_data=0`
the client stops emitting that prefix (parsing moved server-side), so the
`grep -F -c` returns 0 instead of 1. Pin the legacy path; this test is about
the client-side exception wording.
* `03667_insert_columns_description` — pin via `Random settings limits`. The
test inserts `VALUES (NULL)` through `remote(...)` and `file(...)` table
functions and expects column DEFAULTs to apply. With
`send_table_structure_on_insert_with_inline_data=0` the inline path does not
propagate the calling-side column descriptions to the receiving INSERT, so
DEFAULTs are dropped (`7` -> `0`, `4 77` -> `4 0`). Pin the legacy path; the
column-description propagation delta is an independent follow-up.
Verified locally:
* setting=0 with no other randomization: 04029 OK; 01286/01501/03667 FAIL
(deterministic reproduction).
* setting=1: all four OK.
* 50 runs each under full randomization: 200/200 OK.
* Previously pinned tests (04027, 04045, 03229, 01173, 00753, 04064) also
re-verified: 180+/180+ OK.
CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=1046401 parent 7aa9364 commit b392416
4 files changed
Lines changed: 30 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
3 | 12 | | |
4 | 13 | | |
5 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
1 | 10 | | |
2 | 11 | | |
3 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments