(cherry picked from commit b07345e57e)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
This commit is contained in:
co-authored by
Leon Sorokin
parent
ce185ce6a3
commit
bfd38ece7e
@@ -17,13 +17,11 @@ function applySpanNullsThresholds(frame: DataFrame) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (field.type === FieldType.number) {
|
||||
let spanNulls = field.config.custom?.spanNulls;
|
||||
let spanNulls = field.config.custom?.spanNulls;
|
||||
|
||||
if (typeof spanNulls === 'number') {
|
||||
if (spanNulls !== -1) {
|
||||
field.values = new ArrayVector(nullToUndefThreshold(refValues, field.values.toArray(), spanNulls));
|
||||
}
|
||||
if (typeof spanNulls === 'number') {
|
||||
if (spanNulls !== -1) {
|
||||
field.values = new ArrayVector(nullToUndefThreshold(refValues, field.values.toArray(), spanNulls));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user