liukun4515 commented on code in PR #3472:
URL: https://github.com/apache/arrow-datafusion/pull/3472#discussion_r970348707


##########
datafusion/core/src/physical_plan/planner.rs:
##########
@@ -1694,9 +1694,11 @@ mod tests {
     async fn plan(logical_plan: &LogicalPlan) -> Result<Arc<dyn 
ExecutionPlan>> {
         let mut session_state = make_session_state();
         session_state.config.target_partitions = 4;
+        // optimize the logical plan
+        let logical_plan = session_state.optimize(logical_plan)?;

Review Comment:
   the type coercion is done in the optimization



-- 
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]

Reply via email to