SSE: Fix NoData when some series were no data but others not (#45867)
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
This commit is contained in:
@@ -102,6 +102,12 @@ func TestReducer(t *testing.T) {
|
||||
inputSeries: valBasedSeries(nil, nil, ptr.Float64(3), ptr.Float64(4)),
|
||||
expectedNumber: valBasedNumber(ptr.Float64(2)),
|
||||
},
|
||||
{
|
||||
name: "count_non_null with mixed null/real values",
|
||||
reducer: classicReducer("count_non_null"),
|
||||
inputSeries: valBasedSeries(nil, nil, ptr.Float64(3), ptr.Float64(4)),
|
||||
expectedNumber: valBasedNumber(ptr.Float64(2)),
|
||||
},
|
||||
{
|
||||
name: "count_non_null with no values",
|
||||
reducer: classicReducer("count_non_null"),
|
||||
|
||||
Reference in New Issue
Block a user