We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcbdb4e commit a028d26Copy full SHA for a028d26
vortex-array/src/scalar_fns/mask/mod.rs
@@ -49,10 +49,7 @@ impl VTable for MaskFn {
49
"The mask argument to 'mask' must be a non-nullable boolean array, got {}",
50
arg_types[1]
51
);
52
-
53
- // Since we only intersect validity, we never introduce new null values. Therefore, the
54
- // return type has the same nullability as the input array.
55
- Ok(arg_types[0].clone())
+ Ok(arg_types[0].as_nullable())
56
}
57
58
fn execute(&self, _options: &Self::Options, args: &ExecutionArgs) -> VortexResult<Datum> {
0 commit comments