Kenneth Knowles created BEAM-659:

             Summary: WindowFn#isCompatible should provide a meaningful reason
                 Key: BEAM-659
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
            Reporter: Kenneth Knowles
            Priority: Minor

{{WindowFn#isCompatible(...)}} returns a true/false answer without any 
explanation of why; it suffers from a form of [boolean 

We alleviated this for {{Coder#isDeterministic()}} by switching to 
{{Coder#verifyDeterministic()}} which can raise an exception describing why it 
is not deterministic (it could just as easily have been a return value).

We should do the same for {{WindowFn#isCompatible(...)}}.

See here:

(a decent {{toString}} would go a long way, for immediate and trivial 

This message was sent by Atlassian JIRA

Reply via email to