Merge pull request #26530 from taosdata/fix/3.0/TS-5150
fix:[TS-5150] Fix stddev wrong result with null type.
This commit is contained in:
commit
b3402a93bc
|
@ -1441,6 +1441,9 @@ _stddev_over:
|
|||
}
|
||||
|
||||
static void stddevTransferInfo(SStddevRes* pInput, SStddevRes* pOutput) {
|
||||
if (IS_NULL_TYPE(pInput->type)) {
|
||||
return;
|
||||
}
|
||||
pOutput->type = pInput->type;
|
||||
if (IS_SIGNED_NUMERIC_TYPE(pOutput->type)) {
|
||||
pOutput->quadraticISum += pInput->quadraticISum;
|
||||
|
|
Loading…
Reference in New Issue