From e11480030fd028b34359745ff6cd49e9bf0e17d0 Mon Sep 17 00:00:00 2001 From: Xiangpeng Hao Date: Fri, 9 Aug 2024 04:45:21 -0400 Subject: [PATCH] allow Utf8View in subtrait --- datafusion/substrait/src/physical_plan/producer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/substrait/src/physical_plan/producer.rs b/datafusion/substrait/src/physical_plan/producer.rs index 57fe68c4a7802..1879646bc3db5 100644 --- a/datafusion/substrait/src/physical_plan/producer.rs +++ b/datafusion/substrait/src/physical_plan/producer.rs @@ -153,7 +153,7 @@ fn to_substrait_type(data_type: &DataType, nullable: bool) -> Result { nullability, })), }), - DataType::Utf8 => Ok(Type { + DataType::Utf8 | DataType::Utf8View => Ok(Type { kind: Some(Kind::String(SubstraitString { type_variation_reference: 0, nullability,