andygrove commented on issue #5942:
URL: 
https://github.com/apache/arrow-datafusion/issues/5942#issuecomment-1504539511

   Here is an example of configuring a context in Python:
   
   
   ```python
       runtime = (
           RuntimeConfig().with_disk_manager_os().with_fair_spill_pool(10000000)
       )
       config = (
           SessionConfig()
           .with_create_default_catalog_and_schema(True)
           .with_default_catalog_and_schema("foo", "bar")
           .with_target_partitions(1)
           .with_information_schema(True)
           .with_repartition_joins(False)
           .with_repartition_aggregations(False)
           .with_repartition_windows(False)
           .with_parquet_pruning(False)
       )
   
       ctx = SessionContext(config, runtime)
   ```


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

Reply via email to