We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93198a5 commit fb14abbCopy full SHA for fb14abb
vortex-scalar/src/scalar.rs
@@ -207,6 +207,8 @@ impl Scalar {
207
/// - `Struct`: A struct where each field has a zero value, which is determined by the field
208
/// [`DType`]
209
/// - `Extension`: The zero value of the storage [`DType`]
210
+ ///
211
+ /// This is similar to `default_value` except in its handling of nullability.
212
pub fn zero_value(dtype: DType) -> Self {
213
match dtype {
214
DType::Null => Self::null(dtype),
0 commit comments