You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Merge pull request #652 from mariadb-corporation/MCOL-1983
MCOL-1983 Have regr_intercept, regr_slope and regr_r2 return NULL for…
This commit is contained in:
@ -84,7 +84,6 @@ void WF_udaf::resetData()
|
||||
getContext().getFunction()->reset(&getContext());
|
||||
fDistinctMap.clear();
|
||||
WindowFunctionType::resetData();
|
||||
fValOut.reset();
|
||||
}
|
||||
|
||||
void WF_udaf::parseParms(const std::vector<execplan::SRCP>& parms)
|
||||
@ -714,6 +713,7 @@ void WF_udaf::operator()(int64_t b, int64_t e, int64_t c)
|
||||
(fPrev == -1) ||
|
||||
(!fPeer->operator()(getPointer(fRowData->at(c)), getPointer(fRowData->at(fPrev)))))
|
||||
{
|
||||
fValOut.reset();
|
||||
// for unbounded - current row special handling
|
||||
if (fPrev >= b && fPrev < c)
|
||||
b = c;
|
||||
|
Reference in New Issue
Block a user