brimdata / zed

A novel data lake based on super-structured data
https://zed.brimdata.io/
BSD 3-Clause "New" or "Revised" License
1.38k stars 67 forks source link

Reset stateful expressions on EOS #5069

Closed mattnibs closed 3 months ago

mattnibs commented 6 months ago

This commit fixes a bug where stateful expressions were not getting reset when an op encounters EOS. This would most notably result in unexpected values when using stateful expressions inside of lateral queries.

Closes #4943 Closes #4937