Skip to content

Commit daaf4e6

Browse files
committed
Remove incorrect pow -> power normalization
ClickHouse does not normalize pow/POW to power in EXPLAIN AST output. It preserves the original function name case. Removing this incorrect normalization enables 3 tests: - 00756_power_alias - 01681_arg_min_max_if_fix - 03161_decimal_binary_math
1 parent 64b57e0 commit daaf4e6

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

internal/explain/format.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ func NormalizeFunctionName(name string) string {
209209
"ucase": "upper",
210210
"mid": "substring",
211211
"substr": "substring",
212-
"pow": "power",
213212
"ceiling": "ceil",
214213
"ln": "log",
215214
"log10": "log10",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"todo": true}
1+
{}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"todo": true}
1+
{}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"todo": true}
1+
{}

0 commit comments

Comments
 (0)