Commit d27aeca
feat(clickhouse): add ARRAY JOIN, LEFT/INNER ARRAY JOIN support
ClickHouse supports ARRAY JOIN clauses for unnesting arrays inline.
This adds JoinOperator variants for ARRAY JOIN, LEFT ARRAY JOIN,
and INNER ARRAY JOIN.
These joins take a table expression (the array to unnest) rather than
a standard table reference, and do not use ON/USING constraints.
Also adds Spanned impls for the new variants in spans.rs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 1970fc9 commit d27aeca
File tree
4 files changed
+63
-0
lines changed- src
- ast
- parser
- tests
4 files changed
+63
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2755 | 2755 | | |
2756 | 2756 | | |
2757 | 2757 | | |
| 2758 | + | |
| 2759 | + | |
| 2760 | + | |
| 2761 | + | |
| 2762 | + | |
| 2763 | + | |
| 2764 | + | |
2758 | 2765 | | |
2759 | 2766 | | |
2760 | 2767 | | |
| |||
2809 | 2816 | | |
2810 | 2817 | | |
2811 | 2818 | | |
| 2819 | + | |
| 2820 | + | |
| 2821 | + | |
| 2822 | + | |
| 2823 | + | |
| 2824 | + | |
| 2825 | + | |
| 2826 | + | |
2812 | 2827 | | |
2813 | 2828 | | |
2814 | 2829 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2234 | 2234 | | |
2235 | 2235 | | |
2236 | 2236 | | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
2237 | 2240 | | |
2238 | 2241 | | |
2239 | 2242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15342 | 15342 | | |
15343 | 15343 | | |
15344 | 15344 | | |
| 15345 | + | |
| 15346 | + | |
| 15347 | + | |
| 15348 | + | |
| 15349 | + | |
| 15350 | + | |
| 15351 | + | |
| 15352 | + | |
| 15353 | + | |
| 15354 | + | |
| 15355 | + | |
| 15356 | + | |
| 15357 | + | |
| 15358 | + | |
| 15359 | + | |
| 15360 | + | |
| 15361 | + | |
| 15362 | + | |
| 15363 | + | |
| 15364 | + | |
| 15365 | + | |
| 15366 | + | |
| 15367 | + | |
| 15368 | + | |
| 15369 | + | |
| 15370 | + | |
| 15371 | + | |
15345 | 15372 | | |
15346 | 15373 | | |
15347 | 15374 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1751 | 1751 | | |
1752 | 1752 | | |
1753 | 1753 | | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
1754 | 1772 | | |
1755 | 1773 | | |
1756 | 1774 | | |
| |||
0 commit comments