[ 
https://issues.apache.org/jira/browse/FLINK-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14596254#comment-14596254
 ] 

ASF GitHub Bot commented on FLINK-2143:
---------------------------------------

Github user StephanEwen commented on the pull request:

    https://github.com/apache/flink/pull/856#issuecomment-114184385
  
    Here seems to be something with quite some broader implications. This 
affects the design of aggregations on windows and how they can be 
pre-aggregated.
    
    The whole windowing is currently being discussed quite a bit, with regard 
to semantics, and migration to managed memory, or external state. This change 
needs to be reviewed in context with that. Simply adding this without having it 
consistent with the other considerations may backfire later.
    
    @aljoscha Started to drive the windowing discussion. Aljoscha, can you post 
a pointer to the discussion so far?


> Add an overload to reduceWindow which takes the inverse of the reduceFunction 
> as a second parameter
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-2143
>                 URL: https://issues.apache.org/jira/browse/FLINK-2143
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Streaming
>            Reporter: Gabor Gevay
>            Assignee: Gabor Gevay
>
> If the inverse of the reduceFunction is also available (for example 
> subtraction when summing numbers), then a PreReducer can maintain the 
> aggregate in O(1) memory and O(1) time for evict, store, and emitWindow.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to