Update common/expression/src/values.rs
@@ -708,8 +708,9 @@ impl Column {
Column::Nullable(col) => {
let arrow_array = col.column.as_arrow();
match arrow_array.data_type() {
- ArrowType::Null => arrow_array,
- ArrowType::Extension(_, t, _) if **t == ArrowType::Null => arrow_array,
+ ArrowType::Null | ArrowType::Extension(_, t, _) if **t == ArrowType::Null => {
+ arrow_array
+ }
_ => arrow_array.with_validity(Some(col.validity.clone())),
}
}
