Set the [`FileStatisticsCache`] used to cache parquet file statistics. Setting a statistics cache on the `SessionContext` can avoid refetching statistics multiple times in the same session.
(mut self, cache: Option<Arc<dyn FileStatisticsCache>>)
| 260 | /// multiple times in the same session. |
| 261 | /// |
| 262 | pub fn with_cache(mut self, cache: Option<Arc<dyn FileStatisticsCache>>) -> Self { |
| 263 | self.collected_statistics = cache; |
| 264 | self |
| 265 | } |
| 266 | |
| 267 | /// Specify the SQL definition for this table, if any |
| 268 | pub fn with_definition(mut self, definition: Option<String>) -> Self { |
no outgoing calls