shruti2522 commented on code in PR #17100: URL: https://github.com/apache/datafusion/pull/17100#discussion_r2267275009
########## datafusion/catalog/src/table.rs: ########## @@ -75,7 +75,7 @@ pub trait TableProvider: Debug + Sync + Send { } /// Get the [`LogicalPlan`] of this table, if available. - fn get_logical_plan(&self) -> Option<Cow<LogicalPlan>> { + fn get_logical_plan(&'_ self) -> Option<Cow<'_, LogicalPlan>> { Review Comment: [C] lifetime added ########## datafusion/catalog/src/view.rs: ########## @@ -87,7 +87,7 @@ impl TableProvider for ViewTable { self } - fn get_logical_plan(&self) -> Option<Cow<LogicalPlan>> { + fn get_logical_plan(&'_ self) -> Option<Cow<'_, LogicalPlan>> { 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