Skip to content

Commit bcd633b

Browse files
committed
remove clone
1 parent 8d30e59 commit bcd633b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/proto/src/physical_plan/from_proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ pub fn parse_physical_expr(
424424

425425
// Insert into cache if an ID is present
426426
if let Some(id) = proto.id {
427-
Ok(decode_ctx.insert_cached_expr(id, Arc::clone(&pexpr)))
427+
Ok(decode_ctx.insert_cached_expr(id, pexpr))
428428
} else {
429429
Ok(pexpr)
430430
}

0 commit comments

Comments
 (0)