fix: Add null check to NonIncGroupByStream

This commit is contained in:
John Colvin committed 2025-07-23 16:08:14 -04:00
1 parent 025eb4a4fc
commit 997a97be40
1 file changed
+4
@@ -96,6 +96,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) {