jayzhan211 commented on code in PR #11724: URL: https://github.com/apache/datafusion/pull/11724#discussion_r1701939306
########## datafusion/expr/src/logical_plan/plan.rs: ########## @@ -2752,11 +2752,10 @@ fn calc_func_dependencies_for_project( .iter() .filter_map(|expr| { let expr_name = match expr { - Expr::Alias(alias) => { - format!("{}", alias.expr) - } - _ => format!("{}", expr), - }; + Expr::Alias(alias) => alias.expr.display_name(), + _ => expr.display_name(), + } + .ok()?; Review Comment: #11782 filed -- 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