Skip to content

Apache DataFusion SQL Query Engine

Update prost-build requirement from =0.13.2 to =0.13.3 (#12587)

dependabot[bot]ba8a75960ade
diff --git a/datafusion/proto-common/gen/Cargo.toml b/datafusion/proto-common/gen/Cargo.toml
index 9167bd2d6d..0914669f82 100644
--- a/datafusion/proto-common/gen/Cargo.toml
+++ b/datafusion/proto-common/gen/Cargo.toml
@@ -35,4 +35,4 @@ workspace = true
[dependencies]
# Pin these dependencies so that the generated output is deterministic
pbjson-build = "=0.7.0"
-prost-build = "=0.13.2"
+prost-build = "=0.13.3"
diff --git a/datafusion/proto/gen/Cargo.toml b/datafusion/proto/gen/Cargo.toml
index 2735879761..ea28ac86e8 100644
--- a/datafusion/proto/gen/Cargo.toml
+++ b/datafusion/proto/gen/Cargo.toml
@@ -35,4 +35,4 @@ workspace = true
[dependencies]
# Pin these dependencies so that the generated output is deterministic
pbjson-build = "=0.7.0"
-prost-build = "=0.13.2"
+prost-build = "=0.13.3"
diff --git a/datafusion/proto/src/generated/datafusion_proto_common.rs b/datafusion/proto/src/generated/datafusion_proto_common.rs
index b9f71e6345..16de2c7772 100644
--- a/datafusion/proto/src/generated/datafusion_proto_common.rs
+++ b/datafusion/proto/src/generated/datafusion_proto_common.rs
@@ -888,14 +888,14 @@ impl JoinType {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- JoinType::Inner => "INNER",
- JoinType::Left => "LEFT",
- JoinType::Right => "RIGHT",
- JoinType::Full => "FULL",
- JoinType::Leftsemi => "LEFTSEMI",
- JoinType::Leftanti => "LEFTANTI",
- JoinType::Rightsemi => "RIGHTSEMI",
- JoinType::Rightanti => "RIGHTANTI",
+ Self::Inner => "INNER",
+ Self::Left => "LEFT",
+ Self::Right => "RIGHT",
+ Self::Full => "FULL",
+ Self::Leftsemi => "LEFTSEMI",
+ Self::Leftanti => "LEFTANTI",
+ Self::Rightsemi => "RIGHTSEMI",
+ Self::Rightanti => "RIGHTANTI",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -926,8 +926,8 @@ impl JoinConstraint {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- JoinConstraint::On => "ON",
- JoinConstraint::Using => "USING",
+ Self::On => "ON",
+ Self::Using => "USING",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -954,10 +954,10 @@ impl TimeUnit {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- TimeUnit::Second => "Second",
- TimeUnit::Millisecond => "Millisecond",
- TimeUnit::Microsecond => "Microsecond",
- TimeUnit::Nanosecond => "Nanosecond",
+ Self::Second => "Second",
+ Self::Millisecond => "Millisecond",
+ Self::Microsecond => "Microsecond",
+ Self::Nanosecond => "Nanosecond",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -985,9 +985,9 @@ impl IntervalUnit {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- IntervalUnit::YearMonth => "YearMonth",
- IntervalUnit::DayTime => "DayTime",
- IntervalUnit::MonthDayNano => "MonthDayNano",
+ Self::YearMonth => "YearMonth",
+ Self::DayTime => "DayTime",
+ Self::MonthDayNano => "MonthDayNano",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -1013,8 +1013,8 @@ impl UnionMode {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- UnionMode::Sparse => "sparse",
- UnionMode::Dense => "dense",
+ Self::Sparse => "sparse",
+ Self::Dense => "dense",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -1042,11 +1042,11 @@ impl CompressionTypeVariant {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- CompressionTypeVariant::Gzip => "GZIP",
- CompressionTypeVariant::Bzip2 => "BZIP2",
- CompressionTypeVariant::Xz => "XZ",
- CompressionTypeVariant::Zstd => "ZSTD",
- CompressionTypeVariant::Uncompressed => "UNCOMPRESSED",
+ Self::Gzip => "GZIP",
+ Self::Bzip2 => "BZIP2",
+ Self::Xz => "XZ",
+ Self::Zstd => "ZSTD",
+ Self::Uncompressed => "UNCOMPRESSED",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -1074,8 +1074,8 @@ impl JoinSide {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- JoinSide::LeftSide => "LEFT_SIDE",
- JoinSide::RightSide => "RIGHT_SIDE",
+ Self::LeftSide => "LEFT_SIDE",
+ Self::RightSide => "RIGHT_SIDE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -1101,9 +1101,9 @@ impl PrecisionInfo {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- PrecisionInfo::Exact => "EXACT",
- PrecisionInfo::Inexact => "INEXACT",
- PrecisionInfo::Absent => "ABSENT",
+ Self::Exact => "EXACT",
+ Self::Inexact => "INEXACT",
+ Self::Absent => "ABSENT",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
diff --git a/datafusion/proto/src/generated/prost.rs b/datafusion/proto/src/generated/prost.rs
index 8d0c65f569..1376c5f564 100644
--- a/datafusion/proto/src/generated/prost.rs
+++ b/datafusion/proto/src/generated/prost.rs
@@ -1792,17 +1792,17 @@ impl BuiltInWindowFunction {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- BuiltInWindowFunction::Unspecified => "UNSPECIFIED",
- BuiltInWindowFunction::Rank => "RANK",
- BuiltInWindowFunction::DenseRank => "DENSE_RANK",
- BuiltInWindowFunction::PercentRank => "PERCENT_RANK",
- BuiltInWindowFunction::CumeDist => "CUME_DIST",
- BuiltInWindowFunction::Ntile => "NTILE",
- BuiltInWindowFunction::Lag => "LAG",
- BuiltInWindowFunction::Lead => "LEAD",
- BuiltInWindowFunction::FirstValue => "FIRST_VALUE",
- BuiltInWindowFunction::LastValue => "LAST_VALUE",
- BuiltInWindowFunction::NthValue => "NTH_VALUE",
+ Self::Unspecified => "UNSPECIFIED",
+ Self::Rank => "RANK",
+ Self::DenseRank => "DENSE_RANK",
+ Self::PercentRank => "PERCENT_RANK",
+ Self::CumeDist => "CUME_DIST",
+ Self::Ntile => "NTILE",
+ Self::Lag => "LAG",
+ Self::Lead => "LEAD",
+ Self::FirstValue => "FIRST_VALUE",
+ Self::LastValue => "LAST_VALUE",
+ Self::NthValue => "NTH_VALUE",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -1837,9 +1837,9 @@ impl WindowFrameUnits {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- WindowFrameUnits::Rows => "ROWS",
- WindowFrameUnits::Range => "RANGE",
- WindowFrameUnits::Groups => "GROUPS",
+ Self::Rows => "ROWS",
+ Self::Range => "RANGE",
+ Self::Groups => "GROUPS",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -1866,9 +1866,9 @@ impl WindowFrameBoundType {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- WindowFrameBoundType::CurrentRow => "CURRENT_ROW",
- WindowFrameBoundType::Preceding => "PRECEDING",
- WindowFrameBoundType::Following => "FOLLOWING",
+ Self::CurrentRow => "CURRENT_ROW",
+ Self::Preceding => "PRECEDING",
+ Self::Following => "FOLLOWING",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -1894,8 +1894,8 @@ impl DateUnit {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- DateUnit::Day => "Day",
- DateUnit::DateMillisecond => "DateMillisecond",
+ Self::Day => "Day",
+ Self::DateMillisecond => "DateMillisecond",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -1921,9 +1921,9 @@ impl PartitionMode {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- PartitionMode::CollectLeft => "COLLECT_LEFT",
- PartitionMode::Partitioned => "PARTITIONED",
- PartitionMode::Auto => "AUTO",
+ Self::CollectLeft => "COLLECT_LEFT",
+ Self::Partitioned => "PARTITIONED",
+ Self::Auto => "AUTO",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -1949,8 +1949,8 @@ impl StreamPartitionMode {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- StreamPartitionMode::SinglePartition => "SINGLE_PARTITION",
- StreamPartitionMode::PartitionedExec => "PARTITIONED_EXEC",
+ Self::SinglePartition => "SINGLE_PARTITION",
+ Self::PartitionedExec => "PARTITIONED_EXEC",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
@@ -1978,11 +1978,11 @@ impl AggregateMode {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
- AggregateMode::Partial => "PARTIAL",
- AggregateMode::Final => "FINAL",
- AggregateMode::FinalPartitioned => "FINAL_PARTITIONED",
- AggregateMode::Single => "SINGLE",
- AggregateMode::SinglePartitioned => "SINGLE_PARTITIONED",
+ Self::Partial => "PARTIAL",
+ Self::Final => "FINAL",
+ Self::FinalPartitioned => "FINAL_PARTITIONED",
+ Self::Single => "SINGLE",
+ Self::SinglePartitioned => "SINGLE_PARTITIONED",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.