From fe8669fa3afd39c7c063b58b402c4b59ef5719c4 Mon Sep 17 00:00:00 2001 From: Edmondo Porcu Date: Thu, 20 Jun 2024 16:47:07 +0000 Subject: [PATCH] Fixing case --- datafusion/proto/src/logical_plan/from_proto.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/proto/src/logical_plan/from_proto.rs b/datafusion/proto/src/logical_plan/from_proto.rs index 64aed535fb97..9e498a12d9b5 100644 --- a/datafusion/proto/src/logical_plan/from_proto.rs +++ b/datafusion/proto/src/logical_plan/from_proto.rs @@ -142,7 +142,7 @@ impl From for AggregateFunction { protobuf::AggregateFunction::Correlation => Self::Correlation, protobuf::AggregateFunction::Grouping => Self::Grouping, protobuf::AggregateFunction::NthValueAgg => Self::NthValue, - protobuf::AggregateFunction::UNUSED => panic!("This should never happen, we are retiring this but protobuf doesn't support enum with no 0 values"), + protobuf::AggregateFunction::Unused => panic!("This should never happen, we are retiring this but protobuf doesn't support enum with no 0 values"), } } }