|
1 | 1 | use crate::channel_manager::ChannelManager; |
2 | | -use crate::composed_extension_codec::ComposedPhysicalExtensionCodec; |
3 | | -use crate::errors::tonic_status_to_datafusion_error; |
4 | 2 | use crate::flight_service::DoGet; |
5 | | -use crate::plan::codec::DistributedCodec; |
6 | 3 | use crate::stage::{ExecutionStage, ExecutionStageProto}; |
7 | | -use arrow_flight::decode::FlightRecordBatchStream; |
8 | | -use arrow_flight::error::FlightError; |
9 | | -use arrow_flight::{FlightClient, FlightData, Ticket}; |
| 4 | +use arrow_flight::{FlightClient, Ticket}; |
10 | 5 | use datafusion::arrow::datatypes::SchemaRef; |
11 | | -use datafusion::common::runtime::JoinSet; |
12 | | -use datafusion::common::{internal_datafusion_err, internal_err, plan_err}; |
13 | | -use datafusion::error::DataFusionError; |
| 6 | +use datafusion::common::{internal_datafusion_err, plan_err}; |
14 | 7 | use datafusion::error::Result; |
15 | 8 | use datafusion::execution::{RecordBatchStream, SendableRecordBatchStream, TaskContext}; |
16 | 9 | use datafusion::physical_expr::{EquivalenceProperties, Partitioning}; |
17 | 10 | use datafusion::physical_plan::execution_plan::{Boundedness, EmissionType}; |
18 | 11 | use datafusion::physical_plan::stream::RecordBatchStreamAdapter; |
19 | 12 | use datafusion::physical_plan::{DisplayAs, DisplayFormatType, ExecutionPlan, PlanProperties}; |
20 | | -use futures::channel::oneshot; |
21 | 13 | use futures::{future, TryFutureExt, TryStreamExt}; |
22 | 14 | use prost::Message; |
23 | 15 | use std::any::Any; |
24 | 16 | use std::fmt::Formatter; |
25 | | -use std::future::Future; |
26 | | -use std::io::Bytes; |
27 | | -use std::sync::{self, Arc}; |
| 17 | +use std::sync::Arc; |
28 | 18 | use tonic::transport::Channel; |
29 | | -use tonic::{IntoRequest, Streaming}; |
30 | 19 | use url::Url; |
31 | 20 |
|
32 | 21 | use super::combined::CombinedRecordBatchStream; |
|
0 commit comments