mmooyyii opened a new issue, #1242:
URL: https://github.com/apache/datafusion-ballista/issues/1242

   **Describe the bug**
   
   add a print at InMemoryJobState.create_session
   ```rust
   ballista/scheduler/src/cluster/memory.rs line 427
   
   async fn create_session(
           &self,
           config: &SessionConfig,
       ) -> Result<Arc<SessionContext>> {
           let session = create_datafusion_context(config, 
self.session_builder.clone())?;
           self.sessions.insert(session.session_id(), session.clone());
           println!("session size: {}", self.sessions.len());
           Ok(session)
       }
   ```
   then start a scheduler and executor and do some query;
   session size will not decrease after QueryStageSchedulerEvent::JobDataClean
   I also don't see some code to collect old session


-- 
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: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to