berkaysynnada commented on code in PR #15539: URL: https://github.com/apache/datafusion/pull/15539#discussion_r2034679878
########## datafusion/datasource/src/statistics.rs: ########## @@ -410,23 +410,24 @@ pub async fn get_statistics_with_limit( } /// Generic function to compute statistics across multiple items that have statistics -fn compute_summary_statistics<T, I>( +/// If `items` is empty or all items don't have statistics, it returns `None`. Review Comment: I couldn't see when we don't have the schema. If you don't have a schema, how can you even try to compute a statistics, I couldn't imagine also that -- 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