Jan Lukavský created BEAM-12483:
-----------------------------------

             Summary: 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ý
            Assignee: Jan Lukavský


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.3.4#803005)

Reply via email to