Skip to content

Commit 8873c5d

Browse files
committed
Fix exprs
Signed-off-by: Xuanwo <github@xuanwo.io>
1 parent 3670612 commit 8873c5d

File tree

1 file changed

+1
-1
lines changed
  • src/query/service/src/sql/planner/binder

1 file changed

+1
-1
lines changed

src/query/service/src/sql/planner/binder/delete.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl<'a> Binder {
8282
} else {
8383
vec![]
8484
};
85-
let selection = selection.as_ref().map(|expr| expr.to_string());
85+
let selection = selection.as_ref().map(|expr| format!("({})", expr));
8686
let projection = Projection::Columns(col_indices);
8787

8888
let plan = DeletePlan {

0 commit comments

Comments
 (0)