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

Method execute

datafusion/core/tests/memory_limit/mod.rs:1116–1123  ·  view source on GitHub ↗
(&self, _ctx: Arc<TaskContext>)

Source from the content-addressed store, hash-verified

1114 }
1115
1116 fn execute(&self, _ctx: Arc<TaskContext>) -> SendableRecordBatchStream {
1117 // We create an iterator from the record batches and map them into Ok values,
1118 // converting the iterator into a futures::stream::Stream
1119 Box::pin(RecordBatchStreamAdapter::new(
1120 self.schema.clone(),
1121 futures::stream::iter(self.batches.clone()).map(Ok),
1122 ))
1123 }
1124}
1125
1126/// Wrapper over a TableProvider that can provide ordering information

Calls 3

newFunction · 0.85
cloneMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected