Skip to content

Commit 0e10d63

Browse files
committed
1 parent 45276b0 commit 0e10d63

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/flight_service/do_get.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ impl ArrowFlightEndpoint {
8181
.await
8282
.map_err(|err| datafusion_error_to_tonic_status(&err))?;
8383

84-
let ctx = SessionContext::new();
85-
8684
let codec = DistributedCodec::new_combined_with_user(session_state.config());
85+
let ctx = SessionContext::new_with_state(session_state.clone());
8786

8887
// There's only 1 `StageExec` responsible for all requests that share the same `stage_key`,
8988
// so here we either retrieve the existing one or create a new one if it does not exist.

0 commit comments

Comments
 (0)