Skip to content

Commit

Permalink
Update prost-build requirement from =0.13.2 to =0.13.3 (apache#12587)
Browse files Browse the repository at this point in the history
* Update prost-build requirement from =0.13.2 to =0.13.3

Updates the requirements on [prost-build](https://github.com/tokio-rs/prost) to permit the latest version.
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Changelog](https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md)
- [Commits](tokio-rs/prost@v0.13.2...v0.13.3)

---
updated-dependencies:
- dependency-name: prost-build
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update generated code

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
  • Loading branch information
2 people authored and bgjackma committed Sep 25, 2024
1 parent 4031d39 commit 5b2f8fd
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion datafusion/proto-common/gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion datafusion/proto/gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
58 changes: 29 additions & 29 deletions datafusion/proto/src/generated/datafusion_proto_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down
58 changes: 29 additions & 29 deletions datafusion/proto/src/generated/prost.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5b2f8fd

Please sign in to comment.