You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Neelesh Srinivas Salian (JIRA)" <ji...@apache.org> on 2017/04/24 16:30:04 UTC
[jira] [Assigned] (BEAM-659) WindowFn#isCompatible should provide a
meaningful reason
[ https://issues.apache.org/jira/browse/BEAM-659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neelesh Srinivas Salian reassigned BEAM-659:
--------------------------------------------
Assignee: (was: Neelesh Srinivas Salian)
> WindowFn#isCompatible should provide a meaningful reason
> --------------------------------------------------------
>
> Key: BEAM-659
> URL: https://issues.apache.org/jira/browse/BEAM-659
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Kenneth Knowles
> Priority: Minor
> Labels: easy, easyfix, starter
>
> {{WindowFn#isCompatible(...)}} returns a true/false answer without any explanation of why; it suffers from a form of [boolean blindness|https://existentialtype.wordpress.com/2011/03/15/boolean-blindness/].
> 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: http://stackoverflow.com/questions/39617897/inputs-to-flatten-had-incompatible-window-windowfns-when-cogroupbykey-with-calen
> (a decent {{toString}} would go a long way, for immediate and trivial improvement)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)