Skip to content

[GLUTEN-12255][VL] Rewrite multi-children Count in window expressions#12256

Open
WangGuangxin wants to merge 1 commit into
apache:mainfrom
WangGuangxin:window_count
Open

[GLUTEN-12255][VL] Rewrite multi-children Count in window expressions#12256
WangGuangxin wants to merge 1 commit into
apache:mainfrom
WangGuangxin:window_count

Conversation

@WangGuangxin

@WangGuangxin WangGuangxin commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

What changes are proposed in this pull request?

Velox only supports count() / count(T) for window functions. Spark's
count(c1, c2, ...) variant must be rewritten into count(if(or(isnull(c1),isnull(c2), ...), null, 1)) so the WindowExec can still be offloaded, which has already be handled in AggregateExec

How was this patch tested?

More UT

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Copilot

Related issue: #12255

@github-actions github-actions Bot added CORE works for Gluten Core VELOX labels Jun 7, 2026
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

1 similar comment
@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CORE works for Gluten Core VELOX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant