8dee8a9b7c
### What changes were proposed in this pull request? This PR fixed all `OffsetWindowFunctionFrameBase#prepare` implementations to reset the states, and also add more comments in `WindowFunctionFrame` classdoc to explain why we need to reset states during preparation: `WindowFunctionFrame` instances are reused to process multiple partitions. ### Why are the changes needed? To fix a correctness bug caused by the new feature "window function with ignore nulls" in the master branch. ### Does this PR introduce _any_ user-facing change? yes ### How was this patch tested? new test Closes #31325 from cloud-fan/bug. Authored-by: Wenchen Fan <wenchen@databricks.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com> |
||
---|---|---|
.. | ||
benchmarks | ||
src | ||
pom.xml |