Commit 619c89d
Always output CASE expression alias in EXPLAIN output
Remove the condition that skipped quoted aliases in CASE expressions.
ClickHouse EXPLAIN AST shows the alias regardless of whether it was
quoted in the original SQL.
Fixes test: 02244_casewithexpression_return_type/stmt1
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 9261423 commit 619c89d
2 files changed
Lines changed: 2 additions & 11 deletions
File tree
- internal/explain
- parser/testdata/02244_casewithexpression_return_type
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1536 | 1536 | | |
1537 | 1537 | | |
1538 | 1538 | | |
1539 | | - | |
1540 | | - | |
1541 | | - | |
1542 | | - | |
1543 | | - | |
1544 | | - | |
| 1539 | + | |
1545 | 1540 | | |
1546 | 1541 | | |
1547 | 1542 | | |
| |||
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