alamb commented on code in PR #17459: URL: https://github.com/apache/datafusion/pull/17459#discussion_r2333646307
########## datafusion/sql/src/statement.rs: ########## @@ -2024,9 +2024,9 @@ impl<S: ContextProvider> SqlToRel<'_, S> { let mut value_indices = vec![None; table_schema.fields().len()]; let fields = columns .into_iter() - .map(|c| self.ident_normalizer.normalize(c)) .enumerate() .map(|(i, c)| { + let c = self.ident_normalizer.normalize(c); Review Comment: I think the change is fine, I just wanted to make sure I understood what was going on. Thank you @comphead -- 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