Skip to content

Commit 37d572e

Browse files
kyleconroyclaude
andcommitted
Remove incorrect concat_ws to concat normalization
concat_ws should NOT be normalized to concat - ClickHouse preserves the function name as concat_ws in EXPLAIN AST output. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent d7968a1 commit 37d572e

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

internal/explain/format.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,6 @@ func NormalizeFunctionName(name string) string {
455455
"trim": "trimBoth",
456456
"ltrim": "trimLeft",
457457
"rtrim": "trimRight",
458-
// CONCAT_WS is normalized to concat
459-
"concat_ws": "concat",
460458
// Position is normalized to lowercase
461459
"position": "position",
462460
// SUBSTRING is normalized to lowercase (but SUBSTR preserves case)
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
{
2-
"explain_todo": {
3-
"stmt91": true
4-
}
5-
}
1+
{}

0 commit comments

Comments
 (0)