File tree 1 file changed +6
-4
lines changed
datafusion-examples/examples/thread_pools_lib
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 16
16
// under the License.
17
17
18
18
//! [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
+
23
20
use crate :: SendableRecordBatchStream ;
24
21
use async_trait:: async_trait;
25
22
use datafusion:: physical_plan:: stream:: RecordBatchStreamAdapter ;
@@ -128,6 +125,11 @@ impl From<Builder> for DedicatedExecutorBuilder {
128
125
/// drop a runtime in a context where blocking is not allowed it means This
129
126
/// happens when a runtime is dropped from within an asynchronous
130
127
/// 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
131
133
#[ derive( Clone , Debug ) ]
132
134
pub struct DedicatedExecutor {
133
135
/// State for managing Tokio Runtime Handle for CPU tasks
You can’t perform that action at this time.
0 commit comments