v.22.8Bug Fix
Fixed Exponential Decay Calculation to Use Last Value in Window
Fixed point of origin for exponential decay window functions to the last value in window. Previously, decay was calculated by formulaexp((t - curr_row_t) / decay_length), which is incorrect when right boundary of window is notCURRENT ROW. It was changed to:exp((t - last_row_t) / decay_length). There is no change in results for windows withROWS BETWEEN (smth) AND CURRENT ROW. #39593 (Vladimir Chebotaryov).