We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c616db commit ce47585Copy full SHA for ce47585
datafusion/proto/src/logical_plan/from_proto.rs
@@ -647,7 +647,7 @@ pub fn parse_sort(
647
) -> Result<Sort, Error> {
648
Ok(Sort::new(
649
Box::new(parse_required_expr(
650
- sort.expr.as_deref(),
+ sort.expr.as_ref(),
651
registry,
652
"expr",
653
codec,
datafusion/proto/src/logical_plan/to_proto.rs
@@ -637,7 +637,7 @@ where
637
nulls_first,
638
} = sort;
639
Ok(protobuf::SortExprNode {
640
- expr: Some(Box::new(serialize_expr(expr.as_ref(), codec)?)),
+ expr: Some(serialize_expr(expr.as_ref(), codec)?),
641
asc: *asc,
642
nulls_first: *nulls_first,
643
})
0 commit comments