We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
as_any()
1 parent 2f0ca3d commit 4a5d130Copy full SHA for 4a5d130
datafusion/proto/src/physical_plan/to_proto.rs
@@ -312,7 +312,7 @@ pub fn serialize_physical_expr_with_converter(
312
let mut operand_refs: Vec<&Arc<dyn PhysicalExpr>> = vec![expr.right()];
313
let mut current_expr: &BinaryExpr = expr;
314
loop {
315
- match current_expr.left().as_any().downcast_ref::<BinaryExpr>() {
+ match current_expr.left().downcast_ref::<BinaryExpr>() {
316
Some(bin) if bin.op() == op => {
317
operand_refs.push(bin.right());
318
current_expr = bin;
0 commit comments