11use super :: combined:: CombinedRecordBatchStream ;
2+ use crate :: channel_manager_ext:: get_channel_resolver;
23use crate :: common:: ComposedPhysicalExtensionCodec ;
34use crate :: config_extension_ext:: ContextGrpcMetadata ;
45use crate :: errors:: tonic_status_to_datafusion_error;
56use crate :: flight_service:: { DoGet , StageKey } ;
67use crate :: plan:: DistributedCodec ;
78use crate :: stage:: { proto_from_stage, ExecutionStage } ;
89use crate :: user_codec_ext:: get_user_codec;
10+ use crate :: ChannelResolver ;
911use arrow_flight:: decode:: FlightRecordBatchStream ;
1012use arrow_flight:: error:: FlightError ;
1113use arrow_flight:: flight_service_client:: FlightServiceClient ;
@@ -27,8 +29,6 @@ use std::sync::Arc;
2729use tonic:: metadata:: MetadataMap ;
2830use tonic:: Request ;
2931use url:: Url ;
30- use crate :: channel_manager_ext:: get_channel_resolver;
31- use crate :: ChannelResolver ;
3232
3333/// This node has two variants.
3434/// 1. Pending: it acts as a placeholder for the distributed optimization step to mark it as ready.
@@ -160,7 +160,9 @@ impl ExecutionPlan for ArrowFlightReadExec {
160160
161161 // get the channel manager and current stage from our context
162162 let Some ( channel_resolver) = get_channel_resolver ( context. session_config ( ) ) else {
163- return exec_err ! ( "ArrowFlightReadExec requires a ChannelResolver in the session config" ) ;
163+ return exec_err ! (
164+ "ArrowFlightReadExec requires a ChannelResolver in the session config"
165+ ) ;
164166 } ;
165167
166168 let stage = context
0 commit comments