Skip to content

refactor(clickhouse): remove unused relational tree executor - #652

Merged
zzylol merged 2 commits into
mainfrom
refactor/remove-legacy-relational-executor
Sep 11, 2026
Merged

zzylol merged 2 commits into
mainfrom
refactor/remove-legacy-relational-executor

Conversation

@zzylol

@zzylol zzylol commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

SQL serving already executes the installed QueryPlan, but a second recursive SummaryNode executor and summary-state adapter remained solely for one mock test. Keeping both paths obscured which execution contract production uses.

Remove that unused executor, its adapter trait and state bridge. The chain test now exercises the production typed Filter, Project, Sort and Limit operations directly, including the filter that its name advertised. Compatibility module documentation describes the remaining summary API accurately.

Before this PR, SQL operator testing passed through a legacy tree executor that serving never called. After this PR, the test and serving use the same relational operator implementation; installed QueryPlan execution remains unchanged.

Verification: repository-wide reference search found no production caller of the removed path. All 26 ClickHouse query-engine unit tests pass against the actual sketchlib #139 checkout, including coverage and output assertions. Independent source review passed. Performance measurements and screenshots are not applicable.

@zzylol
zzylol merged commit 2ee7a22 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