Skip to content

Enable typed Array and Tuple SQL planning - #658

Merged
zzylol merged 21 commits into
mainfrom
test/clickhouse-collection-process
Sep 11, 2026
Merged

zzylol merged 21 commits into
mainfrom
test/clickhouse-collection-process

Conversation

@zzylol

@zzylol zzylol commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

SQL arrayElement and tupleElement expressions now use the Planner collection frontend and the existing shared QueryPlan operators. Pin the reviewed Planner revision and verify its output through a real backend process against ClickHouse.

The process fixture installs the selected plan, executes typed external leaves followed by local Array/Tuple projections, and checks metadata, NULL/default behavior, time boundaries, and Float64 values against native ClickHouse. It also asserts the external_dag execution path; this is operator composition, not summary acceleration. Existing mixed summary tests reuse the extracted process launcher.

Validation: all three ClickHouse differential process tests passed on this head (8.36 seconds), using the pinned sketch library and a real ClickHouse server. The six-row collection fixture does not establish workload performance. Lambda expressions, tuple dot syntax, and direct collection outputs remain unsupported.

…-values

# Conflicts:
#	control_plane/src/query_plan/clickhouse_exact.rs
#	data_plane/src/query_engines/asap_clickhouse_query_engine/relational_adapter.rs
@zzylol
zzylol merged commit 2c64355 into main Sep 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant