Commit 599dee5
Skip EXPLAIN tests for statements with --{clientError annotations
When ClickHouse errors at runtime (e.g., BAD_ARGUMENTS for invalid settings),
it doesn't produce EXPLAIN output. These statements have empty expected files
and the --{clientError annotation in the SQL.
Skip these tests since the parser correctly parses the valid SQL but ClickHouse
would error at runtime. Also update explain_todo when -check-explain finds
these cases.
Fixes test: 03001_max_parallel_replicas_zero_value/stmt3
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 917864d commit 599dee5
File tree
2 files changed
+22
-5
lines changed- parser
- testdata/03001_max_parallel_replicas_zero_value
2 files changed
+22
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
245 | 266 | | |
246 | 267 | | |
247 | 268 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
0 commit comments