alamb commented on PR #19108:
URL: https://github.com/apache/datafusion/pull/19108#issuecomment-3651209472

   > > This confused me for a while but it makes sense to me and will be fixed 
with
   > 
   > Ah sorry, should have been more clear, I meant in the datafusion-cli. I 
configured it like this to test it out:
   > 
   > ```diff
   > diff --git a/datafusion-cli/src/main.rs b/datafusion-cli/src/main.rs
   > index de666fced..abed30ea3 100644
   > --- a/datafusion-cli/src/main.rs
   > +++ b/datafusion-cli/src/main.rs
   > @@ -23,6 +23,8 @@ use std::process::ExitCode;
   >  use std::sync::{Arc, LazyLock};
   > 
   >  use datafusion::error::{DataFusionError, Result};
   > +use datafusion::execution::cache::cache_manager::CacheManagerConfig;
   > +use datafusion::execution::cache::DefaultListFilesCache;
   >  use datafusion::execution::context::SessionConfig;
   >  use datafusion::execution::memory_pool::{
   >      FairSpillPool, GreedyMemoryPool, MemoryPool, TrackConsumersPool,
   > @@ -222,6 +224,11 @@ async fn main_inner() -> Result<()> {
   >      );
   >      rt_builder = 
rt_builder.with_object_store_registry(instrumented_registry.clone());
   > 
   > +    rt_builder = rt_builder.with_cache_manager(
   > +        CacheManagerConfig::default()
   > +            
.with_list_files_cache(Some(Arc::new(DefaultListFilesCache::default()))),
   > +    );
   > +
   >      let runtime_env = rt_builder.build_arc()?;
   > 
   >      // enable dynamic file query
   > ```
   
   No worries -- I think it is a temporary situation so we should be good to go


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to