gstvg commented on code in PR #23989:
URL: https://github.com/apache/datafusion/pull/23989#discussion_r3732856466


##########
datafusion/physical-expr/src/planner.rs:
##########
@@ -612,15 +614,15 @@ pub fn create_physical_expr(
                             input_dfschema.metadata().clone(),
                         )?;
 
-                        let execution_props = execution_props
+                        let planning_ctx = planning_ctx
                             .clone()
                             .with_qualified_lambda_variables(&qualifier, 
&lambda.params);

Review Comment:
   I agree with your points, this is minor, and the existing code already 
performs the full clone anyway. It also would require changing the received 
`planning_ctx` to a mutable `&mut PhysicalPlanningContext`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to