adriangb commented on code in PR #17242: URL: https://github.com/apache/datafusion/pull/17242#discussion_r2301621010
########## datafusion/datasource/src/source.rs: ########## @@ -179,6 +179,10 @@ pub trait DataSource: Send + Sync + Debug { vec![PushedDown::No; filters.len()], )) } + + fn as_file_source(&self) -> Option<Arc<dyn FileSource>> { + None + } Review Comment: Right but I wonder if this is the right way to go about that or if whatever is needing this sort of down casting should be a part of the trait -- 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