Skip to content

Commit

Permalink
Update datafusion/execution/src/cache/cache_manager.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Lamb <[email protected]>
  • Loading branch information
Ted-Jiang and alamb authored Oct 7, 2023
1 parent c807225 commit a29f172
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions datafusion/execution/src/cache/cache_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,11 @@ pub struct CacheManagerConfig {
/// Avoid get same file statistics repeatedly in same datafusion session.
/// Default is disable. Fow now only supports Parquet files.
pub table_files_statistics_cache: Option<FileStatisticsCache>,
/// Enable cache of files statistics when listing files.
/// Avoid get same files meta under same path repeatedly in same datafusion session.
/// Enable cache of file metadata when listing files.
/// This setting avoids listing file meta of the same path repeatedly
/// in same session, which may be expensive in certain situations (e.g. remote object storage).
/// Note that if this option is enabled, DataFusion will not see any updates to the underlying
/// location.
/// Default is disable.
pub list_files_cache: Option<ListFilesCache>,
}
Expand Down

0 comments on commit a29f172

Please sign in to comment.