[
https://issues.apache.org/jira/browse/BEAM-12483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17549401#comment-17549401
]
Danny McCormick commented on BEAM-12483:
----------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/20999
> SQL: Swapping arguments in HOP window results in invalid window assignment
> --------------------------------------------------------------------------
>
> Key: BEAM-12483
> URL: https://issues.apache.org/jira/browse/BEAM-12483
> Project: Beam
> Issue Type: Bug
> Components: dsl-sql
> Affects Versions: 2.31.0
> Reporter: Jan Lukavský
> Priority: P3
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)