Skip to content

Commit b44defd

Browse files
adriangbclaude
andcommitted
fix: import CacheAccessor trait for len() method in tests
Replace unused FileStatisticsCache import with CacheAccessor which provides the len() method used in tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent aa3f29c commit b44defd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

datafusion/core/src/datasource/listing_table_factory.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,8 @@ mod tests {
220220
datasource::file_format::csv::CsvFormat, execution::context::SessionContext,
221221
test_util::parquet_test_data,
222222
};
223-
use datafusion_execution::cache::cache_manager::{
224-
CacheManagerConfig, FileStatisticsCache,
225-
};
223+
use datafusion_execution::cache::cache_manager::CacheManagerConfig;
224+
use datafusion_execution::cache::CacheAccessor;
226225
use datafusion_execution::cache::cache_unit::DefaultFileStatisticsCache;
227226
use datafusion_execution::config::SessionConfig;
228227
use datafusion_execution::runtime_env::RuntimeEnvBuilder;

0 commit comments

Comments
 (0)