When the number of documents in the window frame is 0, the adjusted count for $stdDevSamp might be negative, and we should return NULL in this case.
$covarianceSamp handles this correctly.
When the number of documents in the window frame is 0, the adjusted count for $stdDevSamp might be negative, and we should return NULL in this case.
$covarianceSamp handles this correctly.