Skip to content

Commit

Permalink
add utf8view
Browse files Browse the repository at this point in the history
Signed-off-by: jayzhan211 <[email protected]>
  • Loading branch information
jayzhan211 committed Nov 11, 2024
1 parent d00a085 commit 9459be0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion datafusion/expr-common/src/type_coercion/binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,10 @@ impl From<&DataType> for TypeCategory {
// therefore, it is categorized as a unknown type
if matches!(
data_type,
DataType::Utf8 | DataType::LargeUtf8 | DataType::Null
DataType::Utf8
| DataType::LargeUtf8
| DataType::Utf8View
| DataType::Null
) {
return TypeCategory::Unknown;
}
Expand Down

0 comments on commit 9459be0

Please sign in to comment.