Skip to content

Commit

Permalink
fix(processor): try fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
zhang2014 committed Sep 30, 2022
1 parent 2e7b397 commit 5acc981
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/query/service/src/api/rpc/exchange/exchange_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ impl FragmentCoordinator {

match &self.payload {
FragmentPayload::PlanV2(plan) => {
let ctx = QueryContext::create_from(ctx);
let pipeline_builder = PipelineBuilderV2::create(ctx);
self.pipeline_build_res = Some(pipeline_builder.finalize(plan)?);
}
Expand Down
2 changes: 1 addition & 1 deletion src/query/service/src/sql/executor/pipeline_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ pub struct PipelineBuilder {
impl PipelineBuilder {
pub fn create(ctx: Arc<QueryContext>) -> PipelineBuilder {
PipelineBuilder {
ctx,
pipelines: vec![],
main_pipeline: Pipeline::create(),
ctx: QueryContext::create_from(ctx),
}
}

Expand Down

0 comments on commit 5acc981

Please sign in to comment.