You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit moves statistics handling from individual FileSource implementations
into FileScanConfig, simplifying the FileSource trait.
Changes:
- Remove statistics() and with_statistics() methods from FileSource trait
- Remove with_projection() method from FileSource trait (statistics PR only)
- Add statistics field to FileScanConfig struct
- Add statistics() method to FileScanConfig to retrieve statistics
- Update FileScanConfigBuilder to properly handle statistics
- Remove projected_statistics field from all FileSource implementations:
- ParquetSource
- CsvSource
- JsonSource
- AvroSource
- ArrowFileSource and ArrowStreamFileSource
- MockSource (test utility)
- Update test utilities and assertions to use config.statistics() instead of file_source.statistics()
- Update proto serialization to use config.statistics()
Part of apache#18627
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments