Skip to content

Commit ce5bcfc

Browse files
committed
fix: Normalize UNSET worker option names before planning
1 parent 2b8e258 commit ce5bcfc

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

src/query/sql/src/planner/binder/ddl/worker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ impl Binder {
8989
set_options.extend(options.iter().map(|(k, v)| (k.to_lowercase(), v.clone())));
9090
}
9191
AlterWorkerAction::UnsetOptions { options } => {
92-
unset_options.extend(options.iter().map(|opt| opt.to_string()));
92+
unset_options.extend(options.iter().map(|opt| opt.to_string().to_lowercase()));
9393
}
9494
AlterWorkerAction::Suspend => {
9595
suspend = true;

0 commit comments

Comments
 (0)