shruti2522 commented on code in PR #17100: URL: https://github.com/apache/datafusion/pull/17100#discussion_r2267278413
########## datafusion/common/src/error.rs: ########## @@ -523,7 +523,7 @@ impl DataFusionError { } } - pub fn message(&self) -> Cow<str> { + pub fn message(&self) -> Cow<'_, str> { Review Comment: [C] lifetime added ########## datafusion/common/src/utils/mod.rs: ########## @@ -260,7 +260,7 @@ pub fn evaluate_partition_ranges( /// the identifier by replacing it with two double quotes /// /// e.g. identifier `tab.le"name` becomes `"tab.le""name"` -pub fn quote_identifier(s: &str) -> Cow<str> { +pub fn quote_identifier(s: &str) -> Cow<'_, str> { Review Comment: [C] lifetime added -- 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