Commit 5c8df3c
committed
Fix tuple rendering when containing array literals
When a tuple contains array literals, render as Function tuple format
instead of Literal Tuple_ format. This matches ClickHouse's EXPLAIN AST
output which shows tuples with arrays as:
Function tuple (alias a) (children 1)
ExpressionList (children 2)
Literal UInt64_456
Literal Array_[...]
Fixes 3 statements in 00300_csv.1 parent b6a94a9 commit 5c8df3c
File tree
2 files changed
+6
-6
lines changed- internal/explain
- parser/testdata/00300_csv
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | | - | |
| 481 | + | |
482 | 482 | | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
483 | 488 | | |
484 | 489 | | |
485 | 490 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 2 | | |
0 commit comments