Skip to content

Conversation

@kyleconroy
Copy link
Collaborator

When a window function uses a named window reference (like OVER w),
the WindowDefinition should not be included as a child of the function
in the EXPLAIN output. Only inline window specs (like OVER () or
OVER (ORDER BY x)) should include the WindowDefinition as a child.

This fixes test 03210_lag_lead_inframe_types.

When a window function uses a named window reference (like `OVER w`),
the WindowDefinition should not be included as a child of the function
in the EXPLAIN output. Only inline window specs (like `OVER ()` or
`OVER (ORDER BY x)`) should include the WindowDefinition as a child.

This fixes test 03210_lag_lead_inframe_types.
@kyleconroy kyleconroy merged commit 4452b96 into main Dec 27, 2025
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.

3 participants