File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
datafusion-examples/examples/thread_pools_lib Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1616// under the License.
1717
1818//! [DedicatedExecutor] for running CPU-bound tasks on a separate tokio runtime.
19- //!
20- //! Originally from [InfluxDB 3.0]
21- //!
22- //! [InfluxDB 3.0]: https://github.com/influxdata/influxdb3_core/tree/6fcbb004232738d55655f32f4ad2385523d10696/executor
19+
2320use crate :: SendableRecordBatchStream ;
2421use async_trait:: async_trait;
2522use datafusion:: physical_plan:: stream:: RecordBatchStreamAdapter ;
@@ -128,6 +125,11 @@ impl From<Builder> for DedicatedExecutorBuilder {
128125/// drop a runtime in a context where blocking is not allowed it means This
129126/// happens when a runtime is dropped from within an asynchronous
130127/// context.', .../tokio-1.4.0/src/runtime/blocking/shutdown.rs:51:21
128+ ///
129+ /// # Notes
130+ /// This code is derived from code originally written for [InfluxDB 3.0]
131+ ///
132+ /// [InfluxDB 3.0]: https://github.com/influxdata/influxdb3_core/tree/6fcbb004232738d55655f32f4ad2385523d10696/executor
131133#[ derive( Clone , Debug ) ]
132134pub struct DedicatedExecutor {
133135 /// State for managing Tokio Runtime Handle for CPU tasks
You can’t perform that action at this time.
0 commit comments