milenkovicm commented on issue #1950:
URL: 
https://github.com/apache/datafusion-ballista/issues/1950#issuecomment-4903109338

   
https://github.com/milenkovicm/datafusion-ballista/blob/a96c381fb1eb038ae19fcf4d180b9a640401462e/ballista/scheduler/src/state/aqe/planner.rs#L554
 
   
   
   ```rust
   fn create_session_state(
           session_config: &SessionConfig,
           physical_optimizers: Vec<PhysicalOptimizerRuleRef>,
       ) -> SessionState {
           SessionStateBuilder::new_with_default_features()
               .with_physical_optimizer_rules(physical_optimizers)
               
.with_runtime_env(runtime_env_with_s3_support(session_config).unwrap())
               .with_config(session_config.clone())
               .build()
       }
   ```
   actual runtime environment should be passed 


-- 
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