From 9c191723f37a09940aa7a3a08050d1807460ddce Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Mon, 13 Nov 2023 14:18:48 -0500 Subject: [PATCH] regenerate proto --- datafusion/proto/src/generated/pbjson.rs | 6 +++--- datafusion/proto/src/generated/prost.rs | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/datafusion/proto/src/generated/pbjson.rs b/datafusion/proto/src/generated/pbjson.rs index 4fa41e92f34a5..0ba554e1323f1 100644 --- a/datafusion/proto/src/generated/pbjson.rs +++ b/datafusion/proto/src/generated/pbjson.rs @@ -20908,8 +20908,8 @@ impl serde::Serialize for ScalarFunction { Self::StringToArray => "StringToArray", Self::ToTimestampNanos => "ToTimestampNanos", Self::ArrayIntersect => "ArrayIntersect", - Self::ArrayUnion => "ArrayUnion", Self::Range => "Range", + Self::ArrayUnion => "ArrayUnion", }; serializer.serialize_str(variant) } @@ -21041,8 +21041,8 @@ impl<'de> serde::Deserialize<'de> for ScalarFunction { "StringToArray", "ToTimestampNanos", "ArrayIntersect", - "ArrayUnion", "Range", + "ArrayUnion", ]; struct GeneratedVisitor; @@ -21203,8 +21203,8 @@ impl<'de> serde::Deserialize<'de> for ScalarFunction { "StringToArray" => Ok(ScalarFunction::StringToArray), "ToTimestampNanos" => Ok(ScalarFunction::ToTimestampNanos), "ArrayIntersect" => Ok(ScalarFunction::ArrayIntersect), - "ArrayUnion" => Ok(ScalarFunction::ArrayUnion), "Range" => Ok(ScalarFunction::Range), + "ArrayUnion" => Ok(ScalarFunction::ArrayUnion), _ => Err(serde::de::Error::unknown_variant(value, FIELDS)), } } diff --git a/datafusion/proto/src/generated/prost.rs b/datafusion/proto/src/generated/prost.rs index 97b2a9511664c..94dd5a70fc0ac 100644 --- a/datafusion/proto/src/generated/prost.rs +++ b/datafusion/proto/src/generated/prost.rs @@ -2562,8 +2562,8 @@ pub enum ScalarFunction { StringToArray = 117, ToTimestampNanos = 118, ArrayIntersect = 119, - ArrayUnion = 120, - Range = 121, + Range = 120, + ArrayUnion = 121, } impl ScalarFunction { /// String value of the enum field names used in the ProtoBuf definition. @@ -2692,8 +2692,8 @@ impl ScalarFunction { ScalarFunction::StringToArray => "StringToArray", ScalarFunction::ToTimestampNanos => "ToTimestampNanos", ScalarFunction::ArrayIntersect => "ArrayIntersect", - ScalarFunction::ArrayUnion => "ArrayUnion", ScalarFunction::Range => "Range", + ScalarFunction::ArrayUnion => "ArrayUnion", } } /// Creates an enum from field names used in the ProtoBuf definition. @@ -2819,8 +2819,8 @@ impl ScalarFunction { "StringToArray" => Some(Self::StringToArray), "ToTimestampNanos" => Some(Self::ToTimestampNanos), "ArrayIntersect" => Some(Self::ArrayIntersect), - "ArrayUnion" => Some(Self::ArrayUnion), "Range" => Some(Self::Range), + "ArrayUnion" => Some(Self::ArrayUnion), _ => None, } }