Skip to content

Commit e94e0a3

Browse files
committed
expr: adjust proto converstion
Signed-off-by: Petros Angelatos <[email protected]>
1 parent 8ae4d7e commit e94e0a3

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

src/expr/src/scalar/func.rs

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ use mz_repr::adt::datetime::{DateTimeUnits, Timezone};
4242
use mz_repr::adt::interval::Interval;
4343
use mz_repr::adt::jsonb::JsonbRef;
4444
use mz_repr::adt::numeric::{self, DecimalLike, Numeric, NumericMaxScale};
45-
use mz_repr::adt::regex::Regex;
4645
use mz_repr::proto::TryFromProtoError;
4746
use mz_repr::{strconv, ColumnName, ColumnType, Datum, DatumType, Row, RowArena, ScalarType};
4847

@@ -4675,12 +4674,12 @@ impl From<&UnaryFunc> for ProtoUnaryFunc {
46754674
UnaryFunc::FloorFloat32(_) => todo!(),
46764675
UnaryFunc::FloorFloat64(_) => todo!(),
46774676
UnaryFunc::FloorNumeric(_) => todo!(),
4678-
UnaryFunc::Ascii => todo!(),
4679-
UnaryFunc::BitLengthBytes => todo!(),
4680-
UnaryFunc::BitLengthString => todo!(),
4681-
UnaryFunc::ByteLengthBytes => todo!(),
4682-
UnaryFunc::ByteLengthString => todo!(),
4683-
UnaryFunc::CharLength => todo!(),
4677+
UnaryFunc::Ascii(_) => todo!(),
4678+
UnaryFunc::BitLengthBytes(_) => todo!(),
4679+
UnaryFunc::BitLengthString(_) => todo!(),
4680+
UnaryFunc::ByteLengthBytes(_) => todo!(),
4681+
UnaryFunc::ByteLengthString(_) => todo!(),
4682+
UnaryFunc::CharLength(_) => todo!(),
46844683
UnaryFunc::Chr(_) => todo!(),
46854684
UnaryFunc::IsLikeMatch(_) => todo!(),
46864685
UnaryFunc::IsRegexpMatch(_) => todo!(),
@@ -4703,21 +4702,21 @@ impl From<&UnaryFunc> for ProtoUnaryFunc {
47034702
UnaryFunc::JustifyDays(_) => todo!(),
47044703
UnaryFunc::JustifyHours(_) => todo!(),
47054704
UnaryFunc::JustifyInterval(_) => todo!(),
4706-
UnaryFunc::JsonbArrayLength => todo!(),
4707-
UnaryFunc::JsonbTypeof => todo!(),
4708-
UnaryFunc::JsonbStripNulls => todo!(),
4709-
UnaryFunc::JsonbPretty => todo!(),
4705+
UnaryFunc::JsonbArrayLength(_) => todo!(),
4706+
UnaryFunc::JsonbTypeof(_) => todo!(),
4707+
UnaryFunc::JsonbStripNulls(_) => todo!(),
4708+
UnaryFunc::JsonbPretty(_) => todo!(),
47104709
UnaryFunc::RoundFloat32(_) => todo!(),
47114710
UnaryFunc::RoundFloat64(_) => todo!(),
47124711
UnaryFunc::RoundNumeric(_) => todo!(),
4713-
UnaryFunc::TrimWhitespace => todo!(),
4714-
UnaryFunc::TrimLeadingWhitespace => todo!(),
4715-
UnaryFunc::TrimTrailingWhitespace => todo!(),
4712+
UnaryFunc::TrimWhitespace(_) => todo!(),
4713+
UnaryFunc::TrimLeadingWhitespace(_) => todo!(),
4714+
UnaryFunc::TrimTrailingWhitespace(_) => todo!(),
47164715
UnaryFunc::RecordGet(_) => todo!(),
47174716
UnaryFunc::ListLength => todo!(),
47184717
UnaryFunc::MapLength => todo!(),
4719-
UnaryFunc::Upper => todo!(),
4720-
UnaryFunc::Lower => todo!(),
4718+
UnaryFunc::Upper(_) => todo!(),
4719+
UnaryFunc::Lower(_) => todo!(),
47214720
UnaryFunc::Cos(_) => todo!(),
47224721
UnaryFunc::Acos(_) => todo!(),
47234722
UnaryFunc::Cosh(_) => todo!(),

0 commit comments

Comments
 (0)