IBM / sliding-window-aggregators

Reference implementations of sliding window aggregation algorithms
Apache License 2.0
43 stars 16 forks source link

What should `evict` in `TimeWindow` return? #49

Open scotts opened 3 years ago

scotts commented 3 years ago

Quoth @ktangwon,

In the case of a time window, the data structure should indicate whether or not the given timestamp leads to a successful eviction. But I'm not 100% sure what we should make it return, e.g., a flag or some real data.

This was forked from the discussion in PR #48, which changed pop in FifoWindow to not have a return value.