You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-52869][SQL] Add FrameLessOffsetWindowFunction validation to validateResolvedWindowExpression for reuse in single-pass analyzer
### What changes were proposed in this pull request?
A check if `FrameLessOffsetWindowFunction` is compatible with its frame (it has to be ordered and can't be a `SpecifiedWindowFrame` other than an ordered frame) is added to `WindowResolver.validateResolvedWindowExpression`.
### Why are the changes needed?
The same repeating logic is required both in the fixed-point and single-pass analyzer implementations.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Using existing unit tests.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes#51559 from nikola-jovicevic-db/SPARK-52869.
Authored-by: Nikola Jovićević <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
0 commit comments