findepi commented on PR #13795: URL: https://github.com/apache/datafusion/pull/13795#issuecomment-2550668767
> I was afraid that writers might populate the statistics with a default value (e.g. `0`) if all of the rows are null instead of `null`. And that some other pass might then remove the information on row count / null counts resulting in: > > row_count null_count min max > null null 0 0 if all values are null, then all non-null values are in [0, 0] range, so min=0 and max=0 would be valid. -- 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