zhuqi-lucas commented on code in PR #16771: URL: https://github.com/apache/datafusion/pull/16771#discussion_r2209914828
########## datafusion/expr/src/expr_rewriter/mod.rs: ########## @@ -250,7 +257,9 @@ fn coerce_exprs_for_schema( let new_type = dst_schema.field(idx).data_type(); if new_type != &expr.get_type(src_schema)? { match expr { - Expr::Alias(Alias { expr, name, .. }) => { + Expr::Alias(alias_box) => { + // alias_box: Box<Alias> + let Alias { expr, name, .. } = *alias_box; Review Comment: Thank you @kosiew , addressed in latest PR. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org