fix: Add null check to NonIncGroupByStream

This commit is contained in:
John Colvin committed 2024-09-22 18:36:36 +00:00
1 parent 012ddeff7e
commit 52eaa5622b
1 file changed
+4
@@ -43,6 +43,10 @@ namespace BCG
_timer.Restart();
IBlueRowCollection total_state = _groupby_func.evaluate(grouped_rows);
_timer.Stop();
if (total_state is null) {
Log.Gen.warn("NonIncGroupByStream _groupby_func.evaluate returned null (ignoring last update).");
return;
}
var applyElapsedMs = _timer.ElapsedMilliseconds;
_n_total_fires++;
if (applyElapsedMs >= 50)