adriangb commented on code in PR #15284: URL: https://github.com/apache/datafusion/pull/15284#discussion_r1999690016
########## datafusion/catalog/src/session.rs: ########## @@ -145,7 +145,7 @@ impl From<&dyn Session> for TaskContext { state.scalar_functions().clone(), state.aggregate_functions().clone(), state.window_functions().clone(), - state.runtime_env().clone(), + Arc::clone(state.runtime_env()), Review Comment: I always wondered what the motivation of the lint is 😆 -- 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