SQL: Swapping arguments in HOP window results in invalid window assignment
Open
bug
dsl
P3
sql
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
If we (by mistake) swap arguments of HOP window, we end-up with invalid WindowFn, that can produce empty windows, which then subsequently results in
`java.lang.IllegalArgumentException: WindowedValue requires windows, but there were none`
We need to verify that the arguments are correct prior to constructing the WindowFn.
Imported from Jira [BEAM-12483](https://issues.apache.org/jira/browse/BEAM-12483). Original Jira may contain additional context.
Reported by: janl.
Contributor guide
Assessment
This issue has not been assessed yet.