From 035966c07160e82302aecb7b89abea9ff3a6d2dc Mon Sep 17 00:00:00 2001 From: Xiangpeng Hao Date: Fri, 9 Aug 2024 05:11:15 -0400 Subject: [PATCH] enable string view in substrait --- 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 57fe68c4a780..1879646bc3db 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,