1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

Welford's algorithm STD and VAR on window functions

This commit is contained in:
Andrey Piskunov
2022-06-01 19:05:33 +03:00
parent eec85f1118
commit bb0f345d3e
6 changed files with 31809 additions and 15 deletions

View File

@@ -41,8 +41,8 @@ class WF_stats : public WindowFunctionType
static boost::shared_ptr<WindowFunctionType> makeFunction(int, const string&, int, WindowFunctionColumn*);
protected:
long double fSum1;
long double fSum2;
long double fMean;
long double fM2sum;
uint64_t fCount;
double fStats;
};