MCPcopy Create free account
hub / github.com/apache/datafusion / with_memory_pool

Method with_memory_pool

datafusion/core/tests/memory_limit/mod.rs:787–790  ·  view source on GitHub ↗

Set the memory pool to be used This will override the memory_limit requested, as the memory pool includes the limit.

(mut self, memory_pool: Arc<dyn MemoryPool>)

Source from the content-addressed store, hash-verified

785 /// This will override the memory_limit requested,
786 /// as the memory pool includes the limit.
787 fn with_memory_pool(mut self, memory_pool: Arc<dyn MemoryPool>) -> Self {
788 self.memory_pool = Some(memory_pool);
789 self
790 }
791
792 /// Specify the configuration to use
793 pub fn with_config(mut self, config: SessionConfig) -> Self {

Calls

no outgoing calls

Tested by

no test coverage detected