Skip to content

Commit 9459be0

Browse files
committed
add utf8view
Signed-off-by: jayzhan211 <jayzhan211@gmail.com>
1 parent d00a085 commit 9459be0

File tree

1 file changed

+4
-1
lines changed
  • datafusion/expr-common/src/type_coercion

1 file changed

+4
-1
lines changed

datafusion/expr-common/src/type_coercion/binary.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,10 @@ impl From<&DataType> for TypeCategory {
334334
// therefore, it is categorized as a unknown type
335335
if matches!(
336336
data_type,
337-
DataType::Utf8 | DataType::LargeUtf8 | DataType::Null
337+
DataType::Utf8
338+
| DataType::LargeUtf8
339+
| DataType::Utf8View
340+
| DataType::Null
338341
) {
339342
return TypeCategory::Unknown;
340343
}

0 commit comments

Comments
 (0)