Hi,
Below stream Insight query works perfectly fine while stream's values is greater than 5 and it's giving Count.
var w = from m in sourceStream.Where(p => p.Value >= 5)
group m by new { m.A1, m.A2 } into x
from tw in x.TumblingWindow(TimeSpan.FromMinutes(5))
select tw.Count();
Now when all of the stream's values are less than 5 for a tumbling window of 5 minutes, the count won't gave any result.
I know the reason that streamInsight is designed like that, but is there any way to extend so that it will give Count = 0