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
MCOL-1793 Refactor to handle another edge case. Also fix CORR and reset
This commit is contained in:
@ -84,6 +84,7 @@ void WF_udaf::resetData()
|
||||
getContext().getFunction()->reset(&getContext());
|
||||
fDistinctMap.clear();
|
||||
WindowFunctionType::resetData();
|
||||
fValOut.reset();
|
||||
}
|
||||
|
||||
void WF_udaf::parseParms(const std::vector<execplan::SRCP>& parms)
|
||||
@ -708,7 +709,6 @@ void WF_udaf::operator()(int64_t b, int64_t e, int64_t c)
|
||||
mcsv1sdk::mcsv1_UDAF::ReturnCode rc;
|
||||
uint64_t colOut = fFieldIndex[0];
|
||||
bool isNull = false;
|
||||
fValOut.reset();
|
||||
|
||||
if ((fFrameUnit == WF__FRAME_ROWS) ||
|
||||
(fPrev == -1) ||
|
||||
|
Reference in New Issue
Block a user