Skip to content

Commit 76bc1b2

Browse files
committed
Update regen
1 parent ee5e372 commit 76bc1b2

File tree

1 file changed

+44
-4
lines changed

1 file changed

+44
-4
lines changed

datafusion/proto/src/generated/datafusion_proto_common.rs

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,21 @@ pub struct Timestamp {
115115
pub timezone: ::prost::alloc::string::String,
116116
}
117117
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
118-
pub struct Decimal {
118+
pub struct Decimal32Type {
119+
#[prost(uint32, tag = "3")]
120+
pub precision: u32,
121+
#[prost(int32, tag = "4")]
122+
pub scale: i32,
123+
}
124+
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
125+
pub struct Decimal64Type {
126+
#[prost(uint32, tag = "3")]
127+
pub precision: u32,
128+
#[prost(int32, tag = "4")]
129+
pub scale: i32,
130+
}
131+
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
132+
pub struct Decimal128Type {
119133
#[prost(uint32, tag = "3")]
120134
pub precision: u32,
121135
#[prost(int32, tag = "4")]
@@ -295,7 +309,7 @@ pub struct ScalarFixedSizeBinary {
295309
pub struct ScalarValue {
296310
#[prost(
297311
oneof = "scalar_value::Value",
298-
tags = "33, 1, 2, 3, 23, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 32, 41, 20, 39, 21, 24, 35, 36, 37, 38, 26, 27, 28, 29, 22, 30, 25, 31, 34, 42"
312+
tags = "33, 1, 2, 3, 23, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 32, 41, 43, 44, 20, 39, 21, 24, 35, 36, 37, 38, 26, 27, 28, 29, 22, 30, 25, 31, 34, 42"
299313
)]
300314
pub value: ::core::option::Option<scalar_value::Value>,
301315
}
@@ -350,6 +364,10 @@ pub mod scalar_value {
350364
StructValue(super::ScalarNestedValue),
351365
#[prost(message, tag = "41")]
352366
MapValue(super::ScalarNestedValue),
367+
#[prost(message, tag = "43")]
368+
Decimal32Value(super::Decimal32),
369+
#[prost(message, tag = "44")]
370+
Decimal64Value(super::Decimal64),
353371
#[prost(message, tag = "20")]
354372
Decimal128Value(super::Decimal128),
355373
#[prost(message, tag = "39")]
@@ -389,6 +407,24 @@ pub mod scalar_value {
389407
}
390408
}
391409
#[derive(Clone, PartialEq, ::prost::Message)]
410+
pub struct Decimal32 {
411+
#[prost(bytes = "vec", tag = "1")]
412+
pub value: ::prost::alloc::vec::Vec<u8>,
413+
#[prost(int64, tag = "2")]
414+
pub p: i64,
415+
#[prost(int64, tag = "3")]
416+
pub s: i64,
417+
}
418+
#[derive(Clone, PartialEq, ::prost::Message)]
419+
pub struct Decimal64 {
420+
#[prost(bytes = "vec", tag = "1")]
421+
pub value: ::prost::alloc::vec::Vec<u8>,
422+
#[prost(int64, tag = "2")]
423+
pub p: i64,
424+
#[prost(int64, tag = "3")]
425+
pub s: i64,
426+
}
427+
#[derive(Clone, PartialEq, ::prost::Message)]
392428
pub struct Decimal128 {
393429
#[prost(bytes = "vec", tag = "1")]
394430
pub value: ::prost::alloc::vec::Vec<u8>,
@@ -411,7 +447,7 @@ pub struct Decimal256 {
411447
pub struct ArrowType {
412448
#[prost(
413449
oneof = "arrow_type::ArrowTypeEnum",
414-
tags = "1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 35, 32, 15, 34, 16, 31, 17, 18, 19, 20, 21, 22, 23, 24, 36, 25, 26, 27, 28, 29, 30, 33"
450+
tags = "1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 35, 32, 15, 34, 16, 31, 17, 18, 19, 20, 21, 22, 23, 40, 41, 24, 36, 25, 26, 27, 28, 29, 30, 33"
415451
)]
416452
pub arrow_type_enum: ::core::option::Option<arrow_type::ArrowTypeEnum>,
417453
}
@@ -478,8 +514,12 @@ pub mod arrow_type {
478514
Time64(i32),
479515
#[prost(enumeration = "super::IntervalUnit", tag = "23")]
480516
Interval(i32),
517+
#[prost(message, tag = "40")]
518+
Decimal32(super::Decimal32Type),
519+
#[prost(message, tag = "41")]
520+
Decimal64(super::Decimal64Type),
481521
#[prost(message, tag = "24")]
482-
Decimal(super::Decimal),
522+
Decimal128(super::Decimal128Type),
483523
#[prost(message, tag = "36")]
484524
Decimal256(super::Decimal256Type),
485525
#[prost(message, tag = "25")]

0 commit comments

Comments
 (0)