We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45276b0 commit 0e10d63Copy full SHA for 0e10d63
src/flight_service/do_get.rs
@@ -81,9 +81,8 @@ impl ArrowFlightEndpoint {
81
.await
82
.map_err(|err| datafusion_error_to_tonic_status(&err))?;
83
84
- let ctx = SessionContext::new();
85
-
86
let codec = DistributedCodec::new_combined_with_user(session_state.config());
+ let ctx = SessionContext::new_with_state(session_state.clone());
87
88
// There's only 1 `StageExec` responsible for all requests that share the same `stage_key`,
89
// so here we either retrieve the existing one or create a new one if it does not exist.
0 commit comments