Skip to content

Commit

Permalink
chore: enable distributed optimization for subquery in delete
Browse files Browse the repository at this point in the history
  • Loading branch information
xudong963 committed Apr 22, 2024
1 parent 1125138 commit 1750605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/query/service/src/interpreters/interpreter_delete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ pub async fn subquery_filter(
bind_context.add_column_binding(row_id_column_binding.clone());

let opt_ctx = OptimizerContext::new(ctx.clone(), metadata.clone())
.with_enable_distributed_optimization(false)
.with_enable_distributed_optimization(true)
.with_enable_join_reorder(unsafe { !ctx.get_settings().get_disable_join_reorder()? })
.with_enable_dphyp(ctx.get_settings().get_enable_dphyp()?);

Expand Down

0 comments on commit 1750605

Please sign in to comment.