Commit 5ec3094
Handle DISTINCT modifier in parametric function calls
For parametric aggregate functions like groupArraySample(5, 11111)(DISTINCT x),
the DISTINCT modifier was being parsed as a column name instead of being
recognized as a modifier. This adds DISTINCT/ALL handling to parseParametricFunctionCall
matching the existing logic in parseFunctionCall.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 04d68a5 commit 5ec3094
File tree
2 files changed
+14
-5
lines changed- parser
- testdata/01605_dictinct_two_level
2 files changed
+14
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2598 | 2598 | | |
2599 | 2599 | | |
2600 | 2600 | | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
2601 | 2614 | | |
2602 | 2615 | | |
2603 | 2616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
0 commit comments