nuno-faria commented on issue #18953:
URL: https://github.com/apache/datafusion/issues/18953#issuecomment-3593068416

   @alamb I can take a stab at this. Just want to get some feedback first:
   - The `FileStatisticsCache` will need to be a trait with a `list_entries` 
type function to get the cached entries, just like `FileMetadataCache`. Since 
`FileMetadataCache` is public, it will cause breaking changes, but it shouldn't 
be difficult to migrate.
   - In your example there is a `statistics_size_bytes`, but I don't think that 
information is directly available in `Statistics`, unlike with the cache 
metadata entries. However, looking at the `Statistics` struct it appears to 
only store two `Precision<usize>` + five `Precision<usize | ScalarValue>` per 
column stored, which should be relatively small.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to