We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45c7157 commit cbd9b1eCopy full SHA for cbd9b1e
1 file changed
datafusion/core/src/execution/context/mod.rs
@@ -1426,10 +1426,13 @@ impl SessionContext {
1426
{
1427
schema.deregister_table(&table)?;
1428
if table_type == TableType::Base {
1429
- if let Some(lfc) = self.runtime_env().cache_manager.get_list_files_cache() {
+ if let Some(lfc) = self.runtime_env().cache_manager.get_list_files_cache()
1430
+ {
1431
lfc.drop_table_entries(&Some(table_ref.clone()))?;
1432
}
- if let Some(fsc) = self.runtime_env().cache_manager.get_file_statistic_cache() {
1433
+ if let Some(fsc) =
1434
+ self.runtime_env().cache_manager.get_file_statistic_cache()
1435
1436
fsc.drop_table_entries(&Some(table_ref.clone()))?;
1437
1438
return Ok(true);
0 commit comments