[streaming] batch/window/co reduce immutability fix