Skip to content

Commit ce47585

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! WIP
1 parent 4c616db commit ce47585

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

datafusion/proto/src/logical_plan/from_proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ pub fn parse_sort(
647647
) -> Result<Sort, Error> {
648648
Ok(Sort::new(
649649
Box::new(parse_required_expr(
650-
sort.expr.as_deref(),
650+
sort.expr.as_ref(),
651651
registry,
652652
"expr",
653653
codec,

datafusion/proto/src/logical_plan/to_proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ where
637637
nulls_first,
638638
} = sort;
639639
Ok(protobuf::SortExprNode {
640-
expr: Some(Box::new(serialize_expr(expr.as_ref(), codec)?)),
640+
expr: Some(serialize_expr(expr.as_ref(), codec)?),
641641
asc: *asc,
642642
nulls_first: *nulls_first,
643643
})

0 commit comments

Comments
 (0)